Monday, December 1, 2008

Sendmail - How to Override MX Record

The following settings force the mails to forward particular server:

1. Add following line into /etc/mail/mailertable

domain mailer:[destinationhost.domain.name]

2. rebuild mailertable

makemap hash mailertable < mailertable

3. restart sendmail

rcsendmail restart

No comments: