sendmail virtual hosting
1. virtusertable:
james@new.com james
2, in sendmail.mc:
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnlFEATURE(`genericstable')dnlsGENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
3, touch generics-domains
4, in local-host-names:
new.com
5, restart sendmail
6, In ASSP-->Relaying-->Local Domains:
new.com
7, In ASSP-->Validate Local Addresses-->Local Addresses* :
new.com
8, In DNS-->A (host):
mx 65.??.??.???
9, In DNS-->MX (Mail Exchange) :
Priority Host Goes To TTL Actions
0 @ 65.??.??.??? 1/2 Hour
0 @ mx.new.com 1/2 Hour
10, send a test email from gmail.

0 Comments:
Post a Comment
<< Home