Linux Help: Mail won't send out via Cronjob

aht

Member
Apr 1, 2001
163
0
0
Hey all,

I'm runninginto something very strange.

From my linux box, I can manually run the following three commands and send out an email from the root account.

mail
sendmail
ssmtp

However, the mail won't send out when I run the command as a cronjob. The syntax of the command in the cronjob is correct, and the logs show that the cron jobs are being processed.

So in other words, I can send mail when runing the command manually, but not through the cronjob.

Any ideas?