[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] .domains



Dean Wittman wrote:

>         Is there a way to put a file in the user directory that will forward
> email to different address.  I don't mean a .forward that fowards all
> mail to another address.  Here is what I am looking for in the file.
> 
>  tom    sales@xxxxxxxxxx,tom@xxxxxxxxxxxxxxxxx
>  joe            joey@xxxxxxxxxxxxxx
>  jerry  teto@thisdomain,jack
> 
> Those three lines would be in the file and forward to the
> coresponding address.  Thanks.

Yes.

This goes in your /etc/aliases file.

However, I'd create a new aliases file.  I've got one called
/etc/aliases.local.

Be sure to add the required line to sendmail.cf and restart sendmail, so
it'll be recognized.

Be sure to run "newaliases" as root every time you make changes to any
of your aliases files.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205