【问题标题】:Cannot deliver email to Google Apps address; Gmail receives the same email fine无法将电子邮件发送到 Google Apps 地址; Gmail 可以正常接收相同的电子邮件
【发布时间】:2013-02-15 02:18:48
【问题描述】:

我有一个安装了 Webform 模块的 Drupal 站点,用于向一小群拥有 Google 应用程序帐户的人发送电子邮件。它曾经工作过;现在,没有任何改变,他们根本没有收到消息。他们不在垃圾邮件中;他们只是永远不会到达时期。但是,如果我将自己的个人 Gmail 地址作为收件人,我会很好地收到它……而不是垃圾邮件或其他任何东西。

我认为问题可能是我的域(托管在 MediaTemple)没有 SPF 记录,所以我添加了一个:

v=spf1 include:spf.mail01.mtsvc.net include:_spf.google.com ~all

但是,Google 仍然不喜欢它。当我查看在我的个人帐户中收到的消息的标题时,它说:

Delivered-To: me@gmail.com
Received: by 10.195.13.109 with SMTP id ex13csp22977wjd;
        Thu, 28 Feb 2013 09:58:05 -0800 (PST)
X-Received: by 10.49.16.135 with SMTP id g7mr12547512qed.8.1362074284935;
        Thu, 28 Feb 2013 09:58:04 -0800 (PST)
Return-Path: <info@freeyourlegs.com>
Received: from freeyourlegs.com (freeyourlegs.com. [72.10.49.208])
        by mx.google.com with ESMTPS id fo1si2728187qab.100.2013.02.28.09.58.04
        (version=TLSv1 cipher=RC4-SHA bits=128/128);
        Thu, 28 Feb 2013 09:58:04 -0800 (PST)
Received-SPF: softfail (google.com: domain of transitioning info@freeyourlegs.com does not designate 72.10.49.208 as permitted sender) client-ip=72.10.49.208;
Authentication-Results: mx.google.com;
       spf=softfail (google.com: domain of transitioning info@freeyourlegs.com does not designate 72.10.49.208 as permitted sender) smtp.mail=info@freeyourlegs.com
Received: (qmail 1658 invoked by uid 48); 28 Feb 2013 09:58:04 -0800
Date: 28 Feb 2013 09:58:04 -0800
Message-ID: <20130228175804.1656.qmail@freeyourlegs.com>
To: me@gmail.com
Subject: Form submission from: Schedule an Appointment
X-PHP-Originating-Script: 10001:mail.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8Bit
X-Mailer: Drupal Webform (PHP/5.3.5)
Errors-To: info@freeyourlegs.com
Sender: info@freeyourlegs.com
From: "Vein Care Institute" <info@freeyourlegs.com>

我对“softfail...不指定为允许的发件人”位感到困惑。此外,每个选项组合(包括 v=spf1 +all)都会在http://www.kitterman.com/spf/validate.html 的 SPF 测试仪上给我一个 HELO/EHLO 软故障(这甚至看起来不可能),即使我目前的记录确实“通过”了给测试者。

我知道为我的域设置了反向 DNS。

我错过了什么?

【问题讨论】:

    标签: gmail google-apps spf


    【解决方案1】:

    首先要尝试更正 SPF 记录。我建议:

    v=spf1 包括:_spf.google.com ip4:72.10.49.208 ~all

    spf.mail01.mtsvc.net 中的 IP 范围与电子邮件来自的 IP 不匹配——我查找了 MediaTemple,他们的说明适用于当您使用他们托管电子邮件时。该电子邮件来自该网站的 IP,即 72.10.49.208

    编辑:如果这不能解决问题,那么问题可能出在发送服务器上。建议您查看这篇文章(以及其中的链接):

    can't send email to addresses at my own domain

    【讨论】:

    • 好点...我会改变它。但是,当我在 Kitterman 网站上测试 SPF 记录时,我确实尝试添加 IP 地址,但这仍然给我提供了 google.com 输入作为 HELO/EHLO 地址的软失败。
    • 记录变化传播得真快!我尝试再次发送测试电子邮件,然后......同样的故事。 Softfail(有交付)给我,没有交付给我的客户。
    • 成功了!!我关闭了本地邮件服务器,突然电子邮件开始出现。我猜发生的事情是,当本地邮件服务器打开时,电子邮件地址@yourdomain.com 被路由到我们的服务器,完全忽略了我们的 MX 记录。因此他们完全消失了。
    • 太好了,我很高兴能帮上忙。请接受/投票答案:-)
    • 当我在 Gmail 中查看原始邮件时,DNS 更改在几分钟内传播,自动电子邮件的 SPF 检查从 softail 更改为 pass。我的 SPF 记录包括 a mx 以及:v=spf1 a mx include:_spf.google.com ip4:72.10.49.208 ~all
    猜你喜欢
    • 1970-01-01
    • 2013-01-20
    • 1970-01-01
    • 2020-09-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-12-14
    • 1970-01-01
    相关资源
    最近更新 更多