Re: /etc/resolv.conf and sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 13 July 2004 05:38, Philippe wrote:
>Hi,
>
>My domain-name (local, only local) is AAA.
>
>My /etc/resolv.conf is :
>
>[root@P4 root]#  more /etc/resolv.conf
>search AAA
>nameserver 203.146.237.237
>nameserver 203.146.237.222
>
>As I have problem with sendmail often queuing my mails for hours
> (using smtp or sendmail to send it), I was wondering is this could
> be the problem.
>
>Here is the maillog for one message being queued :
>
>Jul 13 10:25:30 P4 sendmail[3980]: i6D3PUGP003980:
>from=<phd2@xxxxxxxxxxxxxx>, size=772, class=0, nrcpts=1,
>msgid=<1089689130.2851.28.camel@xxxxxx>, proto=ESMTP, daemon=MTA,
>relay=localhost.localdomain [127.0.0.1]
>
>Jul 13 10:25:30 P4 sendmail[3980]: i6D3PUGP003980:
>to=<userx@xxxxxxxxxxx>, delay=00:00:00, mailer=esmtp, pri=30772,
>dsn=4.4.3, stat=queued
>
>
>Excerpt from this page :
>http://publib16.boulder.ibm.com/pseries/en_US/files/aixfiles/resolv.
>conf.htm
>
>A search entry defines the list of domains to search when resolving
> a name. Only one domain entry or search entry can be used. If the
> domain entry is used, the default search list is the default
> domain. A search entry should be used when a search list other than
> the default is required.
>
>This is not true on my computer, as I don't have any DNS server
> locally.
>
>My question : can I remove "search AAA" and can it be the cause of
> my problems ?
>
>If somebody got an idea ...  mean in simple technical terms as I am
> not really fond of MTA ;-)
>
>Philippe
>
>
>--
>Philippe, Chiangmai, Thailand

You'll need a line in your hosts file that defines AAA, and you should 
have a line "order hosts,bind" in the host.conf file IIRC.

Here, I pass the buck by having the firewall's local ip as the only 
nameserver entry in resolv.conf, and the firewall in turn passes it 
to the real world if its not in the hosts file on the firewall.

-- 
Cheers, Gene
There are 4 boxes to be used in defense of liberty. 
Soap, ballot, jury, and ammo.
Please use in that order, starting now.  -Ed Howdershelt, Author
Additions to this message made by Gene Heskett are Copyright 2004, 
Maurice E. Heskett, all rights reserved.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux