sendmail, deferred: host name lookup fail
Eliot Stock
fedora_list at eliotstock.com
Fri Nov 12 19:34:33 UTC 2004
Am Fr, den 12.11.2004 schrieb Eliot Stock um 19:54:
> I installed FC3 today and can receive mail just fine. Outgoing mail,
> however, is being queued by sendmail due to host name lookup failures. I
> send mail using my ISPs SMTP server as a smart host.
>
> mailq shows every message in the queue with this error:
>
> Deferred: Name server: relay.plus.net: host name lookup fail
>
> I can dig relay.plus.net and it resolves just fine and I can ping it. I
> can't get an MX record for it however.
Can you be a bit more verbose? relay.plus.net is your smarthost?
What does following tests result in?
echo '/mx relay.plus.net.' | sendmail -bt -d8.8
echo '/map host relay.plus.net.' | sendmail -bt -d8.8
I get this:
[root at home ~]# echo '/mx relay.plus.net.' | sendmail -bt -d8.8
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> getmxrr(relay.plus.net., droplocalhost=0)
getmxrr: res_search(relay.plus.net.) failed (errno=110, h_errno=2)
getmxrr(relay.plus.net.) returns -1 value(s):
[root at home ~]# echo '/map host relay.plus.net.' | sendmail -bt -d8.8
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> map_lookup: host (relay.plus.net.) dns_getcanonname(relay.plus.net.,
trymx=1)
dns_getcanonname: trying relay.plus.net. (AAAA)
NO: errno=110, h_errno=2
dns_getcanonname: trying relay.plus.net. (A)
YES
dns_getcanonname: relay.plus.net
returns relay.plus.net. (0)
Thanks,
Eliot Stock.
More information about the fedora-list
mailing list