分类:
2008-01-30 13:26:41
Single domain forwarding in sendmail
You should make sure you sendmail.cf has been compiled with mailertable support before you going on below steps. To ensure this you can check whether there is a line in the mc file. The line looks like
FEATURE(mailertable)dnl
For example you would like to forward sina.com to another host 192.168.3.252 with esmtp mailer
1, Edit /etc/mail/mailtertable, include line
“sina.com emstp:[192.168.3.252]”, didn’t contain double quote.
2, Issue command “makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable”
3, Restart sendmail by /etc/rc2.d/S88sendmail restart
This article base on Solaris 5.9 system.