Saturday, October 3, 2009

Episode 21: Sendmail /etc/mail/virtusertable Setup?

File: /etc/mail/virtusertable


finance@intinfra.com finance

#cd /etc/mail

#makemap hash virtusertable.db < virtusertable #service sendmail restart File: /etc/mail/access



finance: azit,abhi,receiver

#newaliases
#service sendmail restart

Try out sending mail to finance@groupinfra.com
And Found mail to all the three Users:

[receiver@Innova ~]$ mail
Mail version 8.1 6/6/93. Type ? for help.
"/var/spool/mail/receiver": 1 message 1 new
>N 1 sender@intinfra.co Sun Oct 4 03:34 16/650 "hi"
& t
Message 1:
From sender@intinfra.com Sun Oct 4 03:34:25 2009
Date: Sun, 4 Oct 2009 03:34:25 +0530
From: sender@intinfra.com
To: finance@intinfra.com
Subject: hi

hello

&

No comments:

Post a Comment