Redirection of mailto=root

Erik P. Olsen epodata at gmail.com
Tue Mar 15 12:31:14 UTC 2011


On 15/03/11 11:03, Mike Chambers wrote:
> On Tue, 2011-03-15 at 09:59 +0100, Erik P. Olsen wrote:
>> Various routines send messages to root@<local domain>  normally using the setting
>> "mailto=root", For example /etc/anacrontab and /etc/crontab.
>>
>> Is there a central place where such can be redirected to an external mail address?
>
> Yep, just edit /etc/aliases file, last line.  Uncomment it, change the
> *mark* value that is listed by default, to user at domain.com.  Restart
> sendmail and should be all set.  Of course, that box will need to be
> able to send emails out if not already configured to do so.
>
> Just send root a test email to see what happens.
>
>
Thanks to Mike and Maurizio. This was exactly what I was looking for.

-- 
Erik


More information about the users mailing list