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

RE: Everything about Sendmail is Slow



On Mon, 4 Mar 2002, Dave Scott wrote:

> Richard, thanks for the help :)

no problem, we'll get this squared away quickly...

> As far as the "sendmail -bt -d0.13" command.  It comes up with a error
> half way though that says:  "WARNING: local host name (localhost) is not
> qualified; fix $j in config file

This isn't good, and is likely 99% of your problem

> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)"

Normal, don't worry about that

> -------------------
> The hosts file reads
>
> 127.0.0.1                 localhost        rapids
> mail.server.ip.address    rapids.mydomain.org         rapids

I'd remove the 'rapids' from the 127.0.0.1 line...

> ---------------
> The resolv.conf reads
>
> nameserver 127.0.0.1
> search     rapids.mydomain.org
> nameserver 207.69.188.185
> nameserver 207.69.188.187

That should say search mydomain.com !  Otherwise, it tries to qualify
every host with 'rapids.mydomain.com'

> -----------
> The hostname file reads
> Rapids

no problem here

> Now, this all seems weird because this mail server was functioning
> totally fine up to a week ago and no one was in there doing anything.

no upgrades or anything ?

> Any command you give to the sendmail system takes about 1 minute to
> minute and half to respond, not just the mailq command, the sendmail -bt
> command also takes time, basically if you try to talk to sendmail about
> anything there is a delay, even if the mailq is totally empty there is
> still a delay, is this normal, because it always responed quickly before
> this happened.
>  --------------
> Do you think that message about localhost not being qualified is the
> culprit?

Most definetly... the first thing sendmail does is a gethostbyname call,
and it does this for pretty much every invocation...

-- 
Rick Nelson
Turn right here. No! NO! The OTHER right!



Reply to: