x-store-info:4r51+eLowCe79NzwdU2kR0zqpsRfiBoycNOl1Rdc4Wf7430jtHWQcYIrKJBAYArutl6yTQ5VQNWAmHikfoeKC6OfxZYs5RQXt5EONp5Fb+tgLbPo7J+jhd2D/FrCdQyzXUlVTtfPnBo=
Authentication-Results: hotmail.com; spf=softfail (sender IP is 184.168.200.138) [email protected]; dkim=none header.d=studentclutter.com; x-hmca=fail [email protected]
X-SID-PRA: [email protected]
X-AUTH-Result: FAIL
X-SID-Result: FAIL
X-Message-Status: n:n
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtHRD0yO1NDTD00
X-Message-Info: 3c21WZ1hAlvCXlgKMA/ssa/7uuyagef91LCbCD/6jerOOAesLoOF4khK55lv2648aOXN6IForiFWbNDXvt/F9pKgiEmQYyMILkICTpe+/i4pqZfOZymIYT4r8X/NfvkTbHXIijHuSgajahEKBV0qUiO6J/PlRheu+fHREz1zY9V0xz2tq5KTm2vBIQsSTbcG/VCzyglz1h9bRD91eSWpB+xt4cfKRwkgKlCJsJhnftc=
Received: from p3nlsmtpcp01-01.prod.phx3.secureserver.net ([184.168.200.138]) by SNT004-MC2F6.hotmail.com with Microsoft SMTPSVC(7.5.7601.22751);
Wed, 26 Nov 2014 15:19:28 -0800
Received: from p3plcpnl0474.prod.phx3.secureserver.net ([50.62.176.1])
by p3nlsmtpcp01-01.prod.phx3.secureserver.net with : CPANEL :
id LPHH1p01e02B8ka01PHHME; Wed, 26 Nov 2014 16:17:17 -0700
Received: from kumani11 by p3plcpnl0474.prod.phx3.secureserver.net with local (Exim 4.84)
(envelope-from <[email protected]>)
id 1Xtlrr-0002Gt-Tx
for *EMAIL*@live.co.uk; Wed, 26 Nov 2014 16:19:27 -0700
To: Neil <*EMAIL*@live.co.uk>
Subject: Ad Reply on StudentClutter
X-PHP-Script: studentclutter.com/StudentClutter/adreply.php for 5.151.130.2
Date: Wed, 26 Nov 2014 23:19:27 +0000
From: StudentClutter <[email protected]>
Reply-To: StudentClutter <[email protected]>
Message-ID: <[email protected]>
X-Priority: 1
X-Mailer: PHPMailer 5.2.4 (https://github.com/Synchro/PHPMailer/)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_d6832c41b94a8dcf73b6660427bfbd46"
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - p3plcpnl0474.prod.phx3.secureserver.net
X-AntiAbuse: Original Domain - live.co.uk
X-AntiAbuse: Originator/Caller UID/GID - [940112 956] / [47 12]
X-AntiAbuse: Sender Address Domain - studentclutter.com
X-Get-Message-Sender-Via: p3plcpnl0474.prod.phx3.secureserver.net: authenticated_id: kumani11/from_h
X-Source:
X-Source-Args: /usr/sbin/proxyexec -q -d -s /var/run/proxyexec/cagefs.sock/socket /bin/cagefs.server
X-Source-Dir: studentclutter.com:/public_html/StudentClutter
Return-Path: [email protected]
X-OriginalArrivalTime: 26 Nov 2014 23:19:28.0495 (UTC) FILETIME=[6CFA07F0:01D009CF]
--b1_d6832c41b94a8dcf73b6660427bfbd46
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
使用 PHPMailer 创建邮件时,我的电子邮件被发送到收件人邮箱的垃圾邮件文件夹
有人告诉我需要正确配置 SPF 和 DKIM,我想我已经在 GoDaddy 账户上为 SPF 完成了这些配置 -@ v=spf1 a mx ptr include:secureserver.net ~all
还有人知道为什么我的邮件会被归为垃圾邮件吗?我是否遗漏了任何您可以发现的标头?
谢谢
感谢您的帮助
答案1
(重新发布我在SO上准备的答案)
您的 SPF 记录是v=spf1 a mx ptr include:secureserver.net ~all
这允许来自以下来源的发送:
- a → studentclutter.com 主机 (23.229.191.2)
- mx ➜ mail.studentclutter.com。(studentclutter.com 的 CNAME,因此也是 23.229.191.2)
- ptr → 进行反向查找时,任何与您的域名匹配的 IP。由于 184.168.200.138 是 p3nlsmtpcp01-01.prod.phx3.secureserver.net,因此它与您的域名不匹配。
- include:secureserver.net → 包括 secureserver.net 电子邮件策略,
v = spf1 ip4:207.200.21.144/28 ip4:12.151.77.31 ip4:69.64.33.132 ip4:68.233.77.16 ip4:184.168.131.0/24 ip4:173.201.192.0/24 ip4:182.50.132.0/24 ip4:170.146.0.0/16 ip4:174.128.1.0/24 ip4:173.201.193.0/24 包括:spf-ss1.domaincontrol.com -all
依次包括spf-ss1.domaincontrol.com:
v = spf1 ip4:174.128.7.0/24 ip4:206.252.132.65 ip4:24.75.14.201 ip4:144.202.243.25 ip4:68.232.128.0/19 ip4:216.55.155.13 ip4:216.55.162.41 ip4:195.246.112.0/24 包括:spf-ss2.domaincontrol.com 包括:spf.messaging.microsoft.com -all
和 spf.messaging.microsoft.com
v=spf1 ptr:protection.outlook.com ptr:messaging.microsoft.com ptr:o365filtering.com -all
发送 IP 184.168.200.138 不在上述任何范围内。因此 SPF 验证失败。
奇怪的是 184.168.200.138 没有列在 secureserver.net spf 上。这可能是一个错误,或者他们可能不打算让用户将他们的策略包含在他们的域中,因此只列出他们自己的电子邮件发送 IP,而不是用户服务器。
如何让 spf 通过?最简单的方法是明确列出发送 IP:
IP4:184.168.200.138
但是,考虑到你的服务器 IP 可能会意外更改,你可能还想允许所有 secureserver.net 主机
ptr:secureserver.net
总而言之,我将使用以下策略:
v=spf1 a mx ip4:184.168.200.138 ptr:secureserver.net ~all
我已经删除了ptr
(因为您似乎没有可以设置反向 DNS 的专用 IP)和不起作用的 include:secureserver.net。