[CentOS] sendmail question

Wed Oct 21 18:20:53 UTC 2009
Les Mikesell <lesmikesell at gmail.com>

Jerry Geis wrote:
>
>> That's a few DNS timeouts.
>>
>>> / I have 127.0.0.1 localhost in the /etc/hosts file.
>> />/ 
>> />/ Very odd, any thoughts?
>> /
>> Are you mailing to localhost?
>>   
> I tried:
> mail panel
> mail panel at localhost
> mail panel at localhost.localdomain
> mail panel at machine.domain.com (insert actual machine and domain)
> 
> All the above have the same slow 2 minute delay.
> 
> This is odd.

You still haven't answered how long nslookup takes to respond with these 
or your IP addresses.  I think sendmail will ask DNS for an MX record 
first because that's how mail is supposed to work - then if that fails 
it goes for an A record or your hosts file.

-- 
   Les Mikesell
    lesmikesell at gmail.com