looks like a DNS issue?
am 26.12.2007 18:14:02 von Mike
I have messages stuck in my sendmail (8.13.8) outbound queue that
seem to never resolve to the remote MX host. If I manually change
the name of the host in the qf* file directly to the MX host, the
message will be sent?
Any idea why?
Mike
--
Posted via a free Usenet account from http://www.teranews.com
Re: looks like a DNS issue?
am 27.12.2007 19:18:14 von Mike
In article <47728bda$0$25997$88260bb3@free.teranews.com>, Mike wrote:
> I have messages stuck in my sendmail (8.13.8) outbound queue that
> seem to never resolve to the remote MX host. If I manually change
> the name of the host in the qf* file directly to the MX host, the
> message will be sent?
>
> Any idea why?
>
> Mike
>
I have two stuck messages. On each message I run
# strace -o /tmp/strace.out sendmail -v -qI$ID
One message at the end of the strace I see sendmail trying to open
a socket to the remote host. The second message I see sendmail opening
a connection to LDAP. Both commands use the same /etc/mail/sendmail.cf
config file. Why would sendmail open LDAP?
Mike
--
Posted via a free Usenet account from http://www.teranews.com
Re: looks like a DNS issue?
am 27.12.2007 20:22:08 von Mike
In article <4773ec66$0$26044$88260bb3@free.teranews.com>, Mike wrote:
> In article <47728bda$0$25997$88260bb3@free.teranews.com>, Mike wrote:
>> I have messages stuck in my sendmail (8.13.8) outbound queue that
>> seem to never resolve to the remote MX host. If I manually change
>> the name of the host in the qf* file directly to the MX host, the
>> message will be sent?
>>
>> Any idea why?
>>
>> Mike
>>
>
> I have two stuck messages. On each message I run
>
> # strace -o /tmp/strace.out sendmail -v -qI$ID
>
> One message at the end of the strace I see sendmail trying to open
> a socket to the remote host. The second message I see sendmail opening
> a connection to LDAP. Both commands use the same /etc/mail/sendmail.cf
> config file. Why would sendmail open LDAP?
>
> Mike
That last comment helped me find what was going on. For a future
project I had an entry in /etc/hosts to start allowing LDAP lookup
of hosts. Maybe when the host that was hanging was not immediately
found in DNS, the LDAP lookup was next. Why sendmail was not timing
out in LDAP, I don't know.
Mike
--
Posted via a free Usenet account from http://www.teranews.com