[vixie cron and msmtp 1.4.17 on Gentoo Linux]

Hi,

I'd like cron to send any email to my mail provider. This worked with a 
local postfix but I'd prefer not to have a SMTP and a POP/IMAP server 
running on my machine just for delivering cron emails.

My personal crontab contains:

# don't think this is necessary but just to be sure
"MAILTO=thorsten"
  *     *      *     *       *     echo ALARM

My ~/.msmtprc contains
#
account default
from [email protected]
host in1.smtp.messagingengine.com
#

When I test msmtp with "msmtp [email protected]" it works. But 
the syslog only shows 
[cron] (thorsten) CMD (echo ALARM)
[cron] (thorsten) MAIL (mailed 6 bytes of output but got status 0x0041

I also tried to copy ~/.msmtprc to /etc/msmtprc without any change.

Can anyone help me to solve this enigmatic cron error?!

Thorsten


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
msmtp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msmtp-users

Reply via email to