Postfix, Mutt And No Root Mail?

Derek Broughton news at pointerstop.ca
Thu Aug 30 18:35:56 UTC 2007


Brian Fahrlander wrote:

> Leonard Chatagnier wrote:
>> Hi Everyone,
>> I no longer get root mail 
...
>     As root (go through the sudo -i process) create a file called
> /root/.forward containing the address to which you want root's mail sent.
> 
>     And/or...
> 
>     Edit /etc/aliases to add:  root:   myname at mymail.com
> 
>     I've seen the arguments for using both, actually; it's not a bad
>     idea...

OK, I haven't, so I'll ask :-)  What are the arguments?

It would seem to me that simply editing /etc/aliases is much
easier.  .forward files are something that I would think should only exist
for "real" users who want to set forwarding for themselves.  Just
because "root" is getting its mail forwarded isn't helping all the other
processes that are sending mail to "webmaster" & "postmaster" and who knows
what else, so they still need to be handled in /etc/aliases.

That said, I'm not sure all MTAs read /etc/aliases - but equally unsure you
can rely on .forward.
-- 
derek





More information about the ubuntu-users mailing list