我使用 OVH 作为 SMTP 中继。它一直运行良好,但现在我无法再发送邮件了。
如果我回复电子邮件,一切正常。但如果我写一封新电子邮件,它永远不会被收到。
日志文件表明邮件正在正常设置。
"SMTPD" 4576 618 "2017-07-05 11:42:22.357" "127.0.0.1" "SENT: 220 mysite.com ESMTP"
"SMTPD" 2724 618 "2017-07-05 11:42:22.357" "127.0.0.1" "RECEIVED: EHLO mail.mysite.com"
"SMTPD" 2724 618 "2017-07-05 11:42:22.357" "127.0.0.1" "SENT: 250-mysite.com[nl]250-SIZE 20480000[nl]250-AUTH LOGIN[nl]250 HELP"
"SMTPD" 4576 618 "2017-07-05 11:42:22.358" "127.0.0.1" "RECEIVED: AUTH LOGIN"
"SMTPD" 4576 618 "2017-07-05 11:42:22.358" "127.0.0.1" "SENT: 334 VXNlcms5hbWU6"
"SMTPD" 3500 618 "2017-07-05 11:42:22.358" "127.0.0.1" "RECEIVED: ZmFiaW9AbW9kc3ptvbWJpZXMuY29t"
"SMTPD" 3500 618 "2017-07-05 11:42:22.358" "127.0.0.1" "SENT: 334 UGFzc3dvcmQ6"
"SMTPD" 4576 618 "2017-07-05 11:42:22.358" "127.0.0.1" "RECEIVED: ***"
"SMTPD" 4576 618 "2017-07-05 11:42:22.359" "127.0.0.1" "SENT: 235 authenticated."
"SMTPD" 2724 618 "2017-07-05 11:42:22.359" "127.0.0.1" "RECEIVED: MAIL FROM:<[email protected]> SIZE=924"
"SMTPD" 2724 618 "2017-07-05 11:42:22.359" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 4576 618 "2017-07-05 11:42:22.360" "127.0.0.1" "RECEIVED: RCPT TO:<[email protected]>"
"SMTPD" 4576 618 "2017-07-05 11:42:22.360" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 3500 618 "2017-07-05 11:42:22.361" "127.0.0.1" "RECEIVED: DATA"
"SMTPD" 3500 618 "2017-07-05 11:42:22.361" "127.0.0.1" "SENT: 354 OK, send."
"SMTPD" 4700 618 "2017-07-05 11:42:22.363" "127.0.0.1" "SENT: 250 Queued (0.000 seconds)"
"SMTPD" 2636 618 "2017-07-05 11:42:22.363" "127.0.0.1" "RECEIVED: QUIT"
"SMTPD" 2636 618 "2017-07-05 11:42:22.364" "127.0.0.1" "SENT: 221 goodbye"
"SMTPC" 4576 631 "2017-07-05 11:42:22.598" "213.186.33.20" "RECEIVED: 220 ssl0.ovh.net player772"
"SMTPC" 4576 631 "2017-07-05 11:42:22.598" "213.186.33.20" "SENT: EHLO mysite.com"
"SMTPC" 4576 631 "2017-07-05 11:42:22.602" "213.186.33.20" "RECEIVED: 250-player772.ha.ovh.net[nl]250-SIZE 104850000[nl]250-AUTH PLAIN LOGIN[nl]250-AUTH=PLAIN LOGIN[nl]250-ENHANCEDSTATUSCODES[nl]250 8BITMIME"
"SMTPC" 4576 631 "2017-07-05 11:42:22.603" "213.186.33.20" "SENT: AUTH LOGIN"
"SMTPC" 2724 631 "2017-07-05 11:42:22.607" "213.186.33.20" "RECEIVED: 334 VXNlcm5hbWU6"
"SMTPC" 2724 631 "2017-07-05 11:42:22.607" "213.186.33.20" "SENT: c2VydmVyQG1vZHN6b21iaWVzLm92aA=="
"SMTPC" 4576 631 "2017-07-05 11:42:22.611" "213.186.33.20" "RECEIVED: 334 UGFzc3dvcmQ6"
"SMTPC" 4576 631 "2017-07-05 11:42:22.612" "213.186.33.20" "SENT: ***"
"SMTPC" 2724 631 "2017-07-05 11:42:22.628" "213.186.33.20" "RECEIVED: 235 2.7.0 Authentication successful"
"SMTPC" 2724 631 "2017-07-05 11:42:22.628" "213.186.33.20" "SENT: ***"
"SMTPC" 4576 631 "2017-07-05 11:42:22.635" "213.186.33.20" "RECEIVED: 250 2.1.0 Ok"
"SMTPC" 4576 631 "2017-07-05 11:42:22.635" "213.186.33.20" "SENT: RCPT TO:<[email protected]>"
"SMTPC" 2636 631 "2017-07-05 11:42:22.646" "213.186.33.20" "RECEIVED: 250 2.1.5 Ok"
"SMTPC" 2636 631 "2017-07-05 11:42:22.647" "213.186.33.20" "SENT: DATA"
"SMTPC" 2636 631 "2017-07-05 11:42:22.651" "213.186.33.20" "RECEIVED: 354 End data with <CR><LF>.<CR><LF>"
"SMTPC" 2636 631 "2017-07-05 11:42:22.652" "213.186.33.20" "SENT: [nl]."
"SMTPC" 4576 631 "2017-07-05 11:42:22.699" "213.186.33.20" "RECEIVED: 250 2.0.0 Ok: queued as 6126F74008D"
"SMTPC" 4576 631 "2017-07-05 11:42:22.700" "213.186.33.20" "SENT: QUIT"
"SMTPC" 2636 631 "2017-07-05 11:42:22.704" "213.186.33.20" "RECEIVED: 221 2.0.0 Bye"
我在 Windows 上使用 hMailServer,并且没有进行任何更改。
SPF 记录设置正确,但只有答案有效。
答案1
当您发送新邮件时,日志中会显示什么?您看到尝试了吗?您是否收到带有错误代码的退回邮件?
从您的描述来看,这听起来像是 DNS 问题,就像它无法获取其他域的正确 MX 记录。直接登录服务器,看看它是否可以正常解析您要发送到的域。