我一直有一个问题要发送邮件,大部分是使用Outlook.com作为邮件服务器的域。
例如:
Jul 5 15:38:20 vm-dns-mail postfix/smtp[29249]: B6A3A20113E: to=<xxxx.duchene@grassvalley.com>, relay=none, delay=189023, delays=189019/0.05/4/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=grassvalley-com.mail.eo.outlook.com type=AAAA: Host not found, try again)但它有正确的MX记录:
vm-dns-mail ~/bin # dig mx grassvalley.com
[...]
;; ANSWER SECTION:
grassvalley.com. 7362 IN MX 5 grassvalley-com.mail.eo.outlook.com.我可以打电话给它:
vm-dns-mail ~/bin # telnet grassvalley-com.mail.eo.outlook.com 25
EHLO
Trying 207.46.163.30...
Connected to grassvalley-com.mail.eo.outlook.com.
Escape character is '^]'.
220 CO9EHSMHS019.bigfish.com Microsoft ESMTP MAIL Service ready at Fri, 5 Jul 2013 19:45:12 +0000
250-CO9EHSMHS019.bigfish.com Hello [85.12.6.130]
250-SIZE 157286400
250-PIPELINING
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-AUTH
250-8BITMIME
250-BINARYMIME
250 CHUNKING我认为这是一个IPV6问题,因为这个VM无法连接到IPV6。因此,我将这一行添加到main.cf中:
inet_protocols = ipv4但它只是将问题改变为:
Jul 5 21:41:38 vm-dns-mail postfix/smtp[30661]: C1102201234: to=<xxxxx@cjp.be>, relay=none, delay=2, delays=0.01/0/2/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=cjp-be.mail.eo.outlook.com type=A: Host not found, try again)是什么导致了这个,相当恼人的问题?
发布于 2013-07-05 20:04:47
这就是resolv.conf在后缀的色度中的样子。
vm-dns-mail /var/spool/postfix/etc # cat resolv.conf
options timeout:1 attempts:1
nameserver 8.8.8.8
nameserver 8.8.4.4删除options timeout:1 attempts:1似乎已经修复了它。保持这一行,但添加其他DNS服务器(例如opendns)似乎也修复了它.
我会继续做一些测试并监控它。
https://serverfault.com/questions/521163
复制相似问题