rami.info



Using Sendmail’s mailertable

Posted in TechNotes by Rami on the November 8th, 2005

Edit sendmail.mc and add the following:

FEATURE(`mailertable')dnl

Run:

m4 sendmail.mc > sendmail.cf

Create /etc/mail/mailertable and add the incoming mail to route as in:

example.com smtp:[192.168.0.1]

Run:

makemap hash /etc/mail/mailertable < /etc/mail/mailertable

Restart sendmail.

Leave a Reply