sendmail name resolution

2007-03-18 Thread jekillen

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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail name resolution

2007-03-19 Thread Derek Ragona

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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail name resolution

2007-03-19 Thread jekillen


On Mar 19, 2007, at 3:17 AM, Derek Ragona wrote:


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



Thanks, I look into all your suggestions. I think I have gone through 
this before but
I do not install OS's often enough to remember these details. I also 
have so many
books on Unix and related subjects, networking, dns, etc etc that I 
forget where to

find the answer.
Jeff K

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"