[CentOS] sendmail question

Les Mikesell lesmikesell at gmail.com
Wed Oct 21 18:35:19 UTC 2009

Jerry Geis wrote:
>> 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.

That should be in /etc/resolv.conf.

> the /var/log/maillog shows the entry right away when "mail" on the 
> command line is done.

There should be an entry for submitting the mail and another for 
delivering it.

> Again, this is mail originating on the the box and destination is on the 
> same box.

What's the address?

> mailq always shows 0, even doing it repeatedly.
> the mail delivery  is delayed exactly 2 minutes.

That's a few DNS timeouts.

> I have localhost in the /etc/hosts file.
> Very odd, any thoughts?

Are you mailing to localhost?

   Les Mikesell
    lesmikesell at gmail.com

More information about the CentOS mailing list