[K12OSN] How do I route mail to unknown users to one account

Sudev Barar sudev at mantraonline.com
Tue May 17 03:23:42 UTC 2005


On Mon, 2005-05-16 at 09:31 -0500, Gary Frederick wrote:
> Howdy
> 
> I added this line to /etc/mail/sendmail.mc
> 
> define(`LUSER_RELAY',`local:auser at jsoft.com')
> 
> and did this
> 
> m4 sendmail.mc >sendmail.cf
> service sendmail restart
> 
> I can send email to auser but email to unknown users still goes to me
> rather than auser?
> 
> What did I do wrong?

Delivered to you means delivered to root?
If yes then instead of above editing /etc/aliases and changing the
postmaster line will work. Remember to run as root newaliases command
after any change in aliases file.
HTH

-- 
Sudev Barar
Learning Linux




More information about the K12OSN mailing list