Mail Administration Guide

How to Use DNS With sendmail

  1. Edit the /etc/nsswitch.conf file and make sure that the hosts entry includes the dns flag.

    The host entry must include the dns flag for the DNS host aliases to be used.

  2. Check for a mailhost and mailhost.domainname entry.

    Make sure there is an entry for mailhost and mailhost.domainname in the DNS database.