[CS-FSLUG] Sending E-mail's via Network
Tim Young
Tim.Young at LightSys.org
Tue Jul 27 12:48:17 CDT 2004
The nsswitch.conf file (/etc/nsswitch.conf) file determines which has
presidence, the /etc/hosts file or the DNS. If you are getting the
localhost.buddy, then you can change the order through which names are
looked up. Usually, however, the /etc/hosts file is accessed first.
If you look in the /var/log/maillog (or wherever syslog puts the maillog),
you should be able to tell if you are getting something that looks like
buddy.localdomain or localhost.buddy or whatever.
- Tim
David M. wrote:
>>but I think you are getting
>>buddy.buddy and localhost.buddy because the system needs to resolve partial
>>host names (without a period) into a fully qualify hostname (with at least
>>one period). I think it uses /etc/resolv.conf to do this - my guess is you
>>have a line 'search buddy' in there which adds '.buddy' to the end of the
>>'buddy' hostname that contained no periods. Somedays I like to make
>>statements like this simply to see if anyone tells me I don't know what I'm
>>talking about.
>
>
> any info creates clues which eventually becomes a solution. :-)
>
> here's my etc/resolv.conf
> [root at Buddy root]# cat /etc/resolv.conf
> search wowway.com
>
> woway.com is from Wide Open West, my cable internet provider. I now wonder if
> because WOW automatically takes care of this, it is contributing to my
> problems.
More information about the Christiansource
mailing list