sendmail name resolution

Derek Ragona derek at computinginnovations.com
Mon Mar 19 11:18:11 UTC 2007


Sendmail uses the system calls to resolve names.  You need to check:
/etc/nsswitch.conf

In that file check the hosts line, this gives the order for hostname 
resolution, typically it is files then dns.

Then you should check your /etc/hosts file to be sure that localhost is 
there and correct.

Also check /etc/resolve.conf that you have the correct nameservers for dns 
lookups.

         -Derek


At 08:28 PM 3/18/2007, jekillen wrote:
>Hello:
>Where does sendmail look to find out who it is?
>Resolve.conf?
>It keeps throwing up messages that it cannot
>resolve the name localhost, or that is the
>way I am interpreting the messages.
>FreeBSD v6.2 generic
>Thanks in advance;
>Jeff K
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>MailScanner thanks transtec Computers for their support.
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



More information about the freebsd-questions mailing list