From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,58d88443a6e1db70,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-12-03 07:42:48 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: biggsmc@logica.com (Marc Biggs) Newsgroups: comp.unix.tru64 Subject: Mailing Problem Date: 3 Dec 2001 07:42:48 -0800 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 193.123.204.66 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1007394168 11738 127.0.0.1 (3 Dec 2001 15:42:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 3 Dec 2001 15:42:48 GMT Xref: archiver1.google.com comp.unix.tru64:6048 Dear all, Having a bit of a problem mailing a log file to my machine from our Unix box. They are on seperate LANS. I have a script that creates a log file and at the end of the script it attempts to email me the log: MAIL_LIST=biggsmc@logica.com LOG_FILE=/usr/logs/mylog.file cat $LOG_FILE | mailx -s "Log File" $MAIL_LIST This used to work but about a month ago just stopped. I have checked the script and it seems fine. Furthermore when you type in the command on the command line it works fine. The script runs as a root cronjob. I have "su" to root and again attempted it from the command line and again it works fine Has anyone got any ideas? Can there be anyway that running it from cron might affect it? Are there any mail configuration parameters i should look at? Is there any security issues i might need to look at? Has anyone had a similar problem? Thanks for any help Regards Marc