根据http://www.kitterman.com/spf/validate.html上提供的SPF验证工具,我的域名已正确配置了SPF记录:v=spf1 ip4:111.222.333.444 include:zoho.com ~all
我发送电子邮件:
sendmail
(这不会验证,电子邮件会延迟大约122秒)Delivered-To: my-email@gmail.com Received: by 10.107.31.138 with SMTP id 123xxx123xxx123; Sun, 9 Apr 2017 04:10:44 -0700 (PDT) X-Received: by 10.28.40.198 with SMTP id 567xxx567xxx.567.567567567; Sun, 09 Apr 2017 04:10:44 -0700 (PDT) Return-Path: Received: from sd-111111.dedibox.fr ([111.222.333.444]) by mx.google.com with ESMTPS id 12345678.12.2017.04.09.04.13.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Apr 2017 04:10:44 -0700 (PDT) Received-SPF: neutral (google.com: 111.222.333.444 is neither permitted nor denied by best guess record for domain of www-data@sd-111111.dedibox.fr) client-ip=111.222.333.444; Authentication-Results: mx.google.com; spf=neutral (google.com: 111.222.333.444 is neither permitted nor denied by best guess record for domain of www-data@sd-111111.dedibox.fr) smtp.mailfrom=www-data@sd-111111.dedibox.fr Received: from sd-111111.dedibox.fr (localhost [127.0.0.1]) by sd-111111.dedibox.fr (8.15.2/8.15.2/Debian-3) with ESMTP id xxxxxxxxxxx for ; Sun, 9 Apr 2017 13:11:24 +0200 Received: (from www-data@localhost) by sd-111111.dedibox.fr (8.15.2/8.15.2/Submit) id v39BBO6a028991; Sun, 9 Apr 2017 13:11:24 +0200 Date: Sun, 9 Apr 2017 13:08:42 +0200 Message-Id: To: my-email@gmail.com Subject: the subject X-PHP-Originating-Script: 1000:mail.php From: webmaster@my-domain.com Reply-To: webmaster@my-domain.com X-Mailer: PHP/7.1.3-3+deb.sury.org~xenial+1 hello
我该如何解决这个问题?
邮件为Gmail couldn't verify that my-domain.com actually sent this messages (and not a spammer).
,并链接到https://support.google.com/mail/answer/180707
(我应该指出,我在几天前就已经确定了SPF记录正确,所有DNS服务器现在都已经更新了。目前TTL设置为30秒,无论如何都持续数周。)
更新:我刚刚注意到GMail发现电子邮件是从sd-11111.dedibox.fr
发送的,而不是从111.222.333.444
发送的,但是ping sd-11111.dedibox.fr
正在返回这个确切的IP:Reply from 111.222.333.444: bytes=32 time=38ms TTL=52
所以我和#39; m仍然无能为力,为什么它不考虑IP?
答案 0 :(得分:1)
如果没有真正的IP或域名,将很难帮助您排除故障。根据{{1}}示例,一切都很好。
如果是这种情况,通常是因为您的SPF记录中可能有隐藏的控制字符或其他内容导致问题。我的建议是删除旧的SPF记录并添加一个新的记录重新输入。
您可以向
等反射器发送电子邮件Make Believe
验证其他邮件服务器是否也标记了您的SPF并显示错误。