This is a weird one, at least to me. I put a new machine up as an email server. It is receiving inbound email OK. However, when I send test email to my account at yahoo.com, it is stuck in the postfix queue. Here's what I get:
root@mercury:/etc/postfix# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
93E3232A804F 1008 Mon May 19 00:25:17
myaccount@mydomain.com
(Host or domain name not found. Name service error for name=yahoo.com type=MX: Host not found, try again)
myaccount@yahoo.com
But it's not a problem with my DNS server:
root@mercury:/etc/postfix# dig yahoo.com mx
; <<>> DiG 9.4.1-P1 <<>> yahoo.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31985
;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 7, ADDITIONAL: 14
;; QUESTION SECTION:
;yahoo.com. IN MX
;; ANSWER SECTION:
yahoo.com. 1208 IN MX 1 d.mx.mail.yahoo.com.
yahoo.com. 1208 IN MX 1 e.mx.mail.yahoo.com.
yahoo.com. 1208 IN MX 1 f.mx.mail.yahoo.com.
yahoo.com. 1208 IN MX 1 g.mx.mail.yahoo.com.
yahoo.com. 1208 IN MX 1 a.mx.mail.yahoo.com.
yahoo.com. 1208 IN MX 1 b.mx.mail.yahoo.com.
yahoo.com. 1208 IN MX 1 c.mx.mail.yahoo.com.
;; AUTHORITY SECTION:
yahoo.com. 166808 IN NS ns8.yahoo.com.
yahoo.com. 166808 IN NS ns1.yahoo.com.
yahoo.com. 166808 IN NS ns3.yahoo.com.
yahoo.com. 166808 IN NS ns2.yahoo.com.
yahoo.com. 166808 IN NS ns4.yahoo.com.
yahoo.com. 166808 IN NS ns6.yahoo.com.
yahoo.com. 166808 IN NS ns5.yahoo.com.
;; ADDITIONAL SECTION:
a.mx.mail.yahoo.com. 1621 IN A 209.191.118.103
b.mx.mail.yahoo.com. 551 IN A 66.196.97.250
c.mx.mail.yahoo.com. 1241 IN A 216.39.53.3
c.mx.mail.yahoo.com. 1241 IN A 216.39.53.2
d.mx.mail.yahoo.com. 246 IN A 66.196.82.7
e.mx.mail.yahoo.com. 1621 IN A 216.39.53.1
f.mx.mail.yahoo.com. 1286 IN A 68.142.202.247
f.mx.mail.yahoo.com. 1286 IN A 209.191.88.247
g.mx.mail.yahoo.com. 1620 IN A 209.191.88.239
g.mx.mail.yahoo.com. 1620 IN A 206.190.53.191
ns2.yahoo.com. 138182 IN A 68.142.255.16
ns1.yahoo.com. 133888 IN A 66.218.71.63
ns3.yahoo.com. 137749 IN A 217.12.4.104
ns4.yahoo.com. 149065 IN A 68.142.196.63
;; Query time: 74 msec
;; SERVER: 206.165.6.11#53(206.165.6.11)
;; WHEN: Mon May 19 00:38:56 2008
;; MSG SIZE rcvd: 511
Can anyone help me understand why postfix can't resolve the yahoo.com mx record, but dig can?
Help?
mootpoint