【问题标题】:GMail SMTP SPF problemGMail SMTP SPF 问题
【发布时间】:2011-11-16 07:56:49
【问题描述】:

关于从应用程序通过 GMails SMTP 服务器发送电子邮件时被标记为垃圾邮件的问题,已经有很多讨论。

阅读其他帖子我无法弄清楚我的问题。我的电子邮件最终仍然是 SPF 中性的。

在我的 *(全部)DNS 条目中,我在 TXT 记录中拥有:

v=spf1 include:_spf.google.com ~all

在 mu@(域)DNS 条目中,我有相同的 TXT 记录:

v=spf1 include:_spf.google.com ~all

我创建了一个可以正常工作的反向 DNS 条目(执行 nslookup)。

当我查看电子邮件中的消息来源时:

Return-Path: <www-data@www.mydomain.com>
Received: from www.mydomain.com (www.mydomain.com [X.X.X.X]) by
mx.google.com with ESMTP id q3si1105184anp.111.2011.09.13.08.56.55; Tue, 13
Sep 2011 08:56:55 -0700 (PDT)
Received-SPF: neutral (google.com: x.x.x.x is neither permitted nor
denied by best guess record for domain of www-data@www.mydomain.com)
client-ip=x.x.x.x;
Authentication-Results: mx.google.com; spf=neutral (google.com: x.X.x.X
is neither permitted nor denied by best guess record for domain of
www-data@www.domain.com) smtp.mail=www-data@www.domain.com

x.x.x.x 在所有地方都是相等的。反向查找显示 www.mydomain.com

我不明白这个消息。是 x.x.x.x 发送到 gmail 还是 gmail 将其转发到最终目的地的问题。在这种情况下,电子邮件被发送到 anotherdomain.com(也由 gmail 托管)。

我还有一个 TXT google-site-verification 条目。这会导致任何冲突吗?

很抱歉没有公开真实值。我的老板会杀了我。 :(

如果在这件事上能得到任何帮助,我将非常高兴。我无法靠自己走得更远。

最好的问候,

尼古拉斯

【问题讨论】:

    标签: smtp gmail spf


    【解决方案1】:

    试试:

    v=spf1 a mx ip4:x.x.x.x include:_spf.google.com ~all

    如果您的 ip 地址在 A 记录中,您可能不需要 ip4 声明。

    更多信息在这里:http://www.openspf.org/SPF_Record_Syntax

    【讨论】:

      猜你喜欢
      • 2011-04-16
      • 1970-01-01
      • 2011-03-05
      • 1970-01-01
      • 2014-10-31
      • 2013-06-20
      • 2012-12-13
      • 1970-01-01
      相关资源
      最近更新 更多