Estou com um problema para enviar e-mails, principalmente para domínios usando o Outlook.com como servidor de e-mail.
Por exemplo:
Jul 5 15:38:20 vm-dns-mail postfix/smtp[29249]: B6A3A20113E: to=<[email protected]>, 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)
Mas tem um registro MX correto:
vm-dns-mail ~/bin # dig mx grassvalley.com
[...]
;; ANSWER SECTION:
grassvalley.com. 7362 IN MX 5 grassvalley-com.mail.eo.outlook.com.
E eu posso fazer isso:
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
Eu pensei que era um problema de IPV6, já que essa VM não consegue se conectar ao IPV6.
Então eu adicionei esta linha para main.cf:
inet_protocols = ipv4
Mas isso simplesmente mudou a questão para isso:
Jul 5 21:41:38 vm-dns-mail postfix/smtp[30661]: C1102201234: to=<[email protected]>, 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)
O que poderia causar esse problema, um tanto irritante?