René Berber wrote:

> Joost Kraaijeveld wrote:
> 
>> Can I configure where cron sends the mail to? It seems to be 
>> "[EMAIL PROTECTED]", where user is the account cron is running under,
>> but I would like it to go to "[EMAIL PROTECTED]".
> 
> Yes, in /etc/ssmtp/ssmtp.conf, but when you install the ssmtp package
> you are supposed to run ssmtp-config.  Anyway you can edit the file,
> just define root and rewriteDomain so that cron uses those.

I forgot to add that there is a second option: specify MAILTO inside crontab.

In fact that is a more flexible option, you could make cron send emails to 
several addresses, also to different ones for each job.
-- 
René Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to