Re: cron and sendmail

Posted by RENOO on 2010/8/6 18:58:01
Sorry for the quantity of info. But as I don't know what is the probleme...

Yes there is a user called Ocean. It is the main user of the machine, the one running the cron.

But there is not link between Ocean and rlaxxx@free.fr. I don't know how to use aliases.

It is specified in the cron doc that cron send mail to current user or look for variable MAILTO which is set in my case to rlaxxx@free.fr
Following your question :
Quote:
host free.fr
free.fr has address 212.27.48.10
free.fr mail is handled by 10 mx1.free.fr.
free.fr mail is handled by 20 mx2.free.fr.


Suppose I want to send a mail with
echo blabla | mail -s test rlaxxx@free.fr



What is needed to be set up ?

Thank you very much pschaff, I hope I will make it !

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=41&topic_id=27482&post_id=112994