gmail - 无法将电子邮件发送到 Google Apps 地址; Gmail 收到相同的电子邮件罚款

标签 gmail google-apps spf

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

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

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

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

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... does not designate as a permitted sender”位感到困惑。此外,选项的每个组合(包括 v=spf1 +all)在 http://www.kitterman.com/spf/validate.html 的 SPF 测试仪上都会给我一个 HELO/EHLO softfail。 (这甚至看起来不可能),尽管根据测试员的说法,我目前的记录确实“通过”。

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

我错过了什么?

最佳答案

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

v=spf1 include:_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

关于gmail - 无法将电子邮件发送到 Google Apps 地址; Gmail 收到相同的电子邮件罚款,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15143200/

相关文章:

python - 自定义域可以指向特定的谷歌应用引擎版本域吗?

google-app-engine - 电子邮件别名的用户 ID 属性在 Google Apps/App Engine 中是否保持不变?

java - Java 中 Google OAuth 2 进程中的状态参数

email - 设置 SPF 记录以允许从 Google Apps 和 Bluehost 发送电子邮件

google-apps-script - 使用 Google Sheet 中的 GmailApp.sendEmail 时如何包含用户 Gmail 签名

python - 使用 Python 和 imaplib 在 GMail 中移动电子邮件

javascript - 不断收到电子邮件: Cannot read property "0" from undefined

gmail - 无效的 JSON-LD?

dns - 找不到记录

email - 我们应该使用 SPF (TXT) 和 SPF(99 型)还是只使用其中一种?