ubuntu – 无法通过gmail和postfix转发发送电子邮件给自己

前端之家收集整理的这篇文章主要介绍了ubuntu – 无法通过gmail和postfix转发发送电子邮件给自己前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我设置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

也是my postfix config.

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
first check your Sent Mail. Messages that you send to a mailing list,
or to an email address that’s automatically forwarding your mail to
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
    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,
    expanding the message recipient using LDAP,and re-encoding the
    message.
  • Several highly-phished domains have asked Gmail to enforce strict authentication checks on their mail. These domains include eBay,
    Paypal,and Google. If your mail server modifies the forwarded
    messages from these domains,these messages will be marked as
    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.
原文链接:https://www.f2er.com/ubuntu/347585.html

猜你在找的Ubuntu相关文章