我有点电子邮件菜鸟。我的网站正在尝试使用 PHP 邮件功能从联系表单发送电子邮件。这在将其发送到我的 Gmail 帐户时工作正常,但 AOL 拒绝了它。我已经为客户端设置了 RDNS 记录 (fallroadsunoco.com)
Macintosh:~ TAmoyal$ nslookup 67.23.28.65
Server: 192.168.1.1
Address: 192.168.1.1#53
Non-authoritative answer:
65.28.23.67.in-addr.arpa name = fallsroadsunoco.com.
Authoritative answers can be found from:
Run Code Online (Sandbox Code Playgroud)
我什至设置了 MX 记录(虽然我认为这无关紧要,因为只有接收电子邮件才需要)。我做了一些探查,并在我的服务器上随机看到了这个……但是这个输出有两件事需要注意:
sudo more var/spool/postfix/deferred/0/0F902E4F7E
trace_flags=0SO^Lwww-data@comR^Lwww-data@comMN!Received: by bandop.com (Postfix)N5124671id 0F902E4F7E; Sat,ime=1246714223Alog_message_origin=localA
4 Jul 2009 13:30:23 +0000 (UTC)N+Date: Sat, 4 Jul 2009 13:30:23 +0000 (UTC)N.From: MAILER-DAEMON@com (Mail Delivery System)N,Subject: Undelivered Mail Returned to SenderNTo: www-data@
comNAuto-Submitted: auto-repliedNMIME-Version: 1.0N<Content-Type: multipart/report; report-type=delivery-status;N, boundary="B68D0E4F7D.1246714223/bandop.com"NContent-Transfer-Enco
ding: 8bitN2Message-Id: <20090704133023.0F902E4F7E@bandop.com>NN$This is a MIME-encapsulated message.NN"--B68D0E4F7D.1246714223/bandop.comN!Content-Description: NotificationN*Content-Ty
pe: text/plain; charset=us-asciiNN+This is the mail system at host bandop.com.NN;I'm sorry to have to inform you that your message could notN<be delivered to one or more recipients. It'
s attached below.NN7For further assistance, please send mail to postmaster.NN9If you do so, please include this problem report. You canN8delete your own text from the attached returned
message.NN" The mail systemNNO<blahblahblah@aol.com>: host mailin-02.mx.aol.com[64.12.137.89] said: 501 SYNTAXND ERROR IN PARAMETERS OR ARGUMENTS (in reply to MAIL F
ROM command)NN"--B68D0E4F7D.1246714223/bandop.comN$Content-Description: Delivery reportN%Content-Type: message/delivery-statusNNReporting-MTA: dns; bandop.comNX-Postfix-Queue-ID: B68D0E
Status: 5.0.0N%Remote-MTA: dns; mailin-02.mx.aol.comNBDiagnostic-Code: smtp; 501 SYNTAX ERRO(UTC)NN,Final-Recipient: rfc822; blahblahblah@aol.comNAction: failedN
IN PARAMETERS OR ARGUMENTSNN"--B68D0E4F7D.1246714223/bandop.comN(Content-Description: Undelivered MessageNContent-Type: message/rfc822NContent-Transfer-Encoding: 8bitNN1Received: by ba
ndop.com (Postfix, from userid 33)N5 id B68D0E4F7D; Sat, 4 Jul 2009 13:30:22 +0000 (UTC)NTo: blahblahblah@aol.comN!Subject: Your contact form works!N$Date: Sat, 4 Jul 2009 09:30:22 -
X-Priority: 3N?X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version 2.0.4]NMIME-Version: 1.0NContent-Transfer-Enallsroadsunoco.com>N
oding: 8bitN)Content-Type: text/plain; charset="UTF-8"NNName: Tony AmoyalN
encoding=8bitE03@gmail.comMessage:NCan you see this?NNN$--B68D0E4F7D.1246714223/bandop.com--XA
Run Code Online (Sandbox Code Playgroud)
知道为什么只有 AOL 会拒绝我的消息吗?另请注意,它们不会进入垃圾邮件文件夹。
Rai*_*Rat 11
显示 SMTP 会话的数据包捕获在这里会很有用,可能比邮件日志的内容更有用。还请注意,AOL 的邮件服务器对于从谁那里接收邮件非常敏感。查看他们的常见问题解答http://postmaster.aol.com/guidelines/standards.html:
AOL 的服务器将不接受来自不安全系统的连接。这些包括开放中继、开放代理、开放路由器或已确定可用于未经授权使用的任何其他系统。
我已将您可能想要研究的要点加粗。过去我在向他们发送邮件时遇到了麻烦,结果是发送邮件的服务器的 PTR 记录配置错误。我认为你在那里没问题,但你应该检查一下其他人。
| 归档时间: |
|
| 查看次数: |
13350 次 |
| 最近记录: |