我设置postfix将电子邮件转发到我的Gmail帐户.我可以从这个服务器发送电子邮件到我的Gmail,我可以收到外部电子邮件,它已正确转发(甚至从其他Gmail帐户).但是,我无法从我的Gmail发送电子邮件到这台机器.
我在postfix的日志中没有收到任何错误消息,一切都很好.该电子邮件未标记为垃圾邮件,它从未到达我的Gmail收件箱.
这是后缀:
postfix/cleanup[4435]: B5BE7E0A06: message-id=<CABHVO+zD_LCYXWWiABRvXxb=rjez4uBXGo2N9__zkOWo1KVwOA@mail.gmail.com> postfix/qmgr[4183]: B5BE7E0A06: from=<stefano.palazzo@gmail.com>,size=1416,nrcpt=1 (queue active) postfix/smtpd[4431]: disconnect from mail-wm0-f46.google.com[74.125.82.46] postfix/smtp[4436]: B5BE7E0A06: to=<stefano.palazzo@gmail.com>,orig_to=<hello@xn--y-5ga.com>,relay=gmail-smtp-in.l.google.com[64.233.166.26]:25,delay=0.13,delays=0.06/0/0.03/0.04,dsn=2.0.0,status=sent (250 2.0.0 OK 1449920800 r66si5494735wmd.91 - gsmtp) postfix/qmgr[4183]: B5BE7E0A06: removed
SSL证书对域有效.域的spf记录如下所示:
TXT "v=spf1 ip4:212.47.242.239 ~all"
这是怎么回事?我错过了什么?
Gmail正在悄悄地丢弃邮件.这似乎是Gmail的政策.阅读:
I’m having trouble sending messages in Gmail
If a message you’ve sent never arrived at its destination,you should@H_301_21@ first check your Sent Mail. Messages that you send to a mailing list,@H_301_21@ or to an email address that’s automatically forwarding your mail to@H_301_21@ Gmail,will only appear in your Sent Mail.
为什么gmail会这样做?这似乎是答案:Best practices for forwarding mail to Gmail
Authentication
- Do not modify,remove or shuffle message headers or modify the body of the message. DKIM or DomainKeys signatures will break if the body@H_301_21@ is altered,and all authentication information will be lost.
- Common DKIM breakages include modifying the mime boundaries,anti-virus or anti-spam programs modifying the body of the message,@H_301_21@ expanding the message recipient using LDAP,and re-encoding the@H_301_21@ message.
- Several highly-phished domains have asked Gmail to enforce strict authentication checks on their mail. These domains include eBay,@H_301_21@ Paypal,and Google. If your mail server modifies the forwarded@H_301_21@ messages from these domains,these messages will be marked as@H_301_21@ phishing.
- One symptom of this problem is that a messages from these domains forwarded through your mail server to Gmail will have an Authentication-Results header that show that DKIM did not pass,while messages sent directly to Gmail will have a passing signature.