[CentOS] sendmail question

Alexander Dalloz ad+lists at uni-x.org
Thu Oct 22 14:29:57 UTC 2009

Jerry Geis schrieb:
>> My guess would be a resolving problem also.
>> Its usually what causes sendmail to slow down.
>> Check your /etc/hosts file
>> Dan
> My /etc/hosts file is only has the "nameserver x.x.x.x" entry.
> the /var/log/maillog shows the entry right away when "mail" on the 
> command line is done.
> Again, this is mail originating on the the box and destination is on the 
> same box.
> mailq always shows 0, even doing it repeatedly.
> the mail delivery  is delayed exactly 2 minutes.
> I have localhost in the /etc/hosts file.

Sendmail demands a dotted hostname in /etc/hosts for itself. "localhost"
is not enough. "localhost.localdomain" (which is even the CentOS default
for works.

> Very odd, any thoughts?
> Jerry


More information about the CentOS mailing list