On Tue, 25 Nov 2003 18:05:55 +0100 "A.J. Bonnema" <abonnema@xxxxxxxxx> wrote:
Has anyone else experienced an exctreeeemely slow startup for sendmail and sm-client?
I checked the archives for this list, but couldn't find it.
What could I do to find out what the problem is?
check your maillog in /var/log/ anything similar to this in there: ---------------------------------------------------------------------------
Nov 17 04:02:43 Turtle sendmail[4717]: My unqualified host name (Turtle) unknown; sleeping for retry Nov 17 04:03:07 Turtle sendmail[4501]: unable to qualify my own domain name (Turtle) -- using short name Nov 17 04:03:07 Turtle sendmail[4501]: hAHC37RE004501: from=root, size=2273, class=0, nrcpts=1, msgid=<200311171203.hAHC37RE004501@Turtle>, relay=root@localhostNov 17 04:03:07 Turtle sendmail[4501]: hAHHLS433: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32273, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
--------------------------------------------------------------------------- make sure of a few things, check /etc/sysconfig/network it should have a line like this: HOSTNAME=turtle.localdomain
check /etc/hosts for lines like this: 127.0.0.1 localhost.localdomain localhost 127.0.0.1 turtle.localdomain turtle Note the . in the hostnames, sendmail is picky about seeing a domain (aliases ok)
Check /etc/hosts.allow if you have tcpwrappers on sendmail : 127.0.0.1 localhost.localdomain
By default RH configures sendmail to only accept connections from localhost so any changing of things throws it for a loop.
good luck.
Thank you very much. That did it. Your precise description made it very clear what was wrong:
I had one entry (not 127.0.0.1) containing a name without a . (no domain) which probably was the cause. Changing that to a " xxx.xxx.xxx.xxx name.domain name" made sendmail and sm-client extremely fast in startup.
Thanks again!
Guus. -- A.J. Bonnema, Leiden The Netherlands, user #328198 (Linux Counter http://counter.li.org)