由于SPF问题,我在Google拒绝邮件方面遇到问题。我以为我已经解决了这个问题,但显然没有……
该邮件是从运行mimemail的Drupal站点发送的。显示该问题的消息如下:
Delivered-To: reg@receiver.com
Received: by 10.112.47.229 with SMTP id g5csp300564lbn;
Wed, 2 Apr 2014 10:21:06 -0700 (PDT)
X-Received: by 10.66.249.233 with SMTP id yx9mr1407538pac.3.1396459264202;
Wed, 02 Apr 2014 10:21:04 -0700 (PDT)
Return-Path: <sender@sender.com>
Received: from sender.com (sender.com. [xxx.xxx.xxx.xxx])
by mx.google.com with ESMTP id m8si1612133pbd.503.2014.04.02.10.21.03
for <reg@receiver.com>;
Wed, 02 Apr 2014 10:21:04 -0700 (PDT)
Received-SPF: softfail (google.com: domain of transitioning sender@sender.com does not designate xxx.xxx.xxx.xxx as permitted sender) client-ip=xxx.xxx.xxx.xxx;
Authentication-Results: mx.google.com;
spf=softfail (google.com: domain of transitioning sender@sender.com does not designate xxx.xxx.xxx.xxx as permitted sender) smtp.mail=sender@sender.com
Received: by sender.com (Postfix, from userid 48)
id 3E486101774; Wed, 2 Apr 2014 17:21:02 +0000 (UTC)
To: "reg" <reg@receiver.com>
Subject: Message Subject here
X-PHP-Originating-Script: 501:mimemail.module
MIME-Version:1.0
Content-Type:multipart/mixed;
boundary="ca08a4eb4d5f903d3ee41d8632611e3ff9f7e67713"
Content-Transfer-Encoding:8Bit
X-Mailer:Drupal
Sender:Sender <sender@sender.com>
From:Sender <sender@sender.com>
Message-Id: <20140402172102.3E486101774@sender.com>
Date: Wed, 2 Apr 2014 17:21:02 +0000 (UTC)
This is a multi-part message in MIME format.
--ca08a4eb4d5f903d3ee41d8632611e3ff9f7e67713
Content-Type:multipart/alternative;
boundary="2db314e2a942d712c21894936b800a2c7998463d12"
Content-Transfer-Encoding:8bit
--2db314e2a942d712c21894936b800a2c7998463d12
Content-Type:text/plain; charset=utf-8
Content-Disposition:inline
Content-Transfer-Encoding:8bit
Message text goes here...
--2db314e2a942d712c21894936b800a2c7998463d12
Content-Type:text/html; charset=utf-8
Content-Disposition:inline
Content-Transfer-Encoding:8Bit
<html>
<html text goes here>
</html>
--2db314e2a942d712c21894936b800a2c7998463d12--
--ca08a4eb4d5f903d3ee41d8632611e3ff9f7e67713--
[道歉的道歉。]
从http://www.whatsmyip.us/txt获得的域的SPF记录如下所示:
v=spf1 ip4:xxx.xxx.xxx.xxx ~all , ttl : 14144
v=spf1 include:_spf.google.com ~all , ttl : 14144
v=spf1 a -all , ttl : 14144
v=spf1 ip4:xxx.xxx.xxx.yyy ~all , ttl : 14144
同样匿名。
我不知道出了什么问题-适当的SPF记录似乎已经到位。我能看到的唯一问题是,我确实已经设置(或试图设置)两个服务器作为该域的合法发件人。这旨在涵盖生产和开发服务器(我们将其称为sender.com和dev.sender.com)。这是问题吗?
有什么问题的想法吗?再次,我认为这曾经可以正常工作,但现在绝对不是。谢谢!
这里的匿名化太多了-请至少使用example.com记录向我们显示这四个SPF记录的确切位置;如果它们都在一个域中,那么这就是您的问题,但是如果它们是分开的,我们需要知道彼此之间的关系,以帮助您。
—
Kromey 2014年