Divert Mails

Scott angrykeyboarder at angrykeyboarder.com
Mon Oct 31 05:33:34 UTC 2005

On 10/30/2005 09:30 PM, Ashwani Jain wrote:

> Hi
> I have a linux server powered with Ubuntu 5.04 (Hoary hedgehog). 
> After installation there was one default sudo user named ash.  All the
> local system mails coming to root was mapped to goto the inbox of this
> user ash.  Now I added one more sudo user dash and want all the system
> mails coming to root should be coming to this new users.  For this I
> added one alias in /etc/aliases and than ran command newaliases, but
> still all the local system mails are going to that user only.
> Is there any other I I can map one users mails for another user, in
> red hat this trick works but in ubuntu probably its some other way. 
> Please help.

I was just reading the man page for aliases noting the following.

    An alias definition has the form

          /name/: /value1/, /value2/, /.../

So if I'm reading this correctly, I'd use the following for root mail to
go to Dick and Jane.

    root: dick, jane

Is that the syntax you used in your aliases file?

© 2005 angrykeyboarder™ & Elmer Fudd. All Wights Wesewved

More information about the ubuntu-users mailing list