Re: Redirection of mailto=root
- From: "Erik P. Olsen" <epodata@xxxxxxxxx>
- Date: Tue, 15 Mar 2011 13:31:14 +0100
On 15/03/11 11:03, Mike Chambers wrote:
On Tue, 2011-03-15 at 09:59 +0100, Erik P. Olsen wrote:Thanks to Mike and Maurizio. This was exactly what I was looking for.
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@xxxxxxxxxxx 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.
users mailing list
To unsubscribe or change subscription options: