Re: FC6: slooow sendmail start after changing /etc/hosts

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

 



Rainer Traut wrote:
Hi,

this is a problem which I see since a couple of fedora releases.
After fixing the /etc/hosts file sendmail starts very slow.
I usually took the easy way and deinstalled sendmail for postfix...

The sendmail init script runs newaliases and then sendmail, both tasks start very slowly.

I did was fixing the faulty hosts file:

wrong:
127.0.0.1    zico    localhost localhost.localdomain

fixed:
127.0.0.1    localhost localhost.localdomain
172.27.0.101    zico

Vie tethereal -i lo I noticed the starting sendmail tries to lookup my hostname 'zico' from dns (running bind locally) but fails and seems to pause then.

I looked for any references in /etc/mail but there is no 'zico'.

So the question is, how to fix this?

Thx
Rainer




maybe check /etc/resolv.conf; should say
order hosts,bind

this way it will look at the hosts file before resorting to your local nameserver.


--
-------------------------------------------------------------------------------
"The two most common things in the	| Bill Perkins
 universe are Hydrogen and Stupidity."	| perk@xxxxxxx
					| programmer-at-large
		F. Zappa		| ALL assembly languages done here.
-------------------------------------------------------------------------------

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux