我的目标是能够使用 smtp.office365.com 从我的网站发送电子邮件,并且电子邮件将进入收件箱而不是垃圾邮件。但到目前为止,我还没有成功。
- 如果收据是 Gmail,电子邮件将会顺利进入收件箱。
- 但对于 Microsoft Office 365 收据,电子邮件总是进入垃圾邮件。
令人沮丧的是,SPF、DKIM、DMARC 全部通过。好吧,我应该说,6 个检查点中有 4 个通过。这是最令人困惑的部分。即使是 gmail 收据,电子邮件确实进入了收件箱,我仍然观察到同样的 6 个中 4 个通过,2 个失败的情况。
我检查了电子邮件标题。似乎有 6 轮验证。令人困惑的是,在前面的检查点,我的 spf dkim dmarc 都通过了。但在电子邮件标题的后 2 部分,SPF 为零。我总结了以下 6 个检查点。我还在此处粘贴了完整的标题。我一直在研究这个问题,阅读了互联网上的大量文章,但无法弄清楚如何让最后 2 个检查点通过。我的电子邮件仍然进入垃圾邮件文件夹。请有人为这条黑暗的隧道点亮一丝光亮。我现在看不到任何希望。 :(
以下是我设置 SPF 的方法
v=spf1 a mx ip4:mywebsite ip4 ip6:mywebsite ip6 include:spf.protection.outlook.com -all
以下是我设置 DKIM 的方法
v=DKIM1; k=rsa; p=my pubic key
以下是我设置 DMARC 的方法
v=DMARC1; p=reject; rua=mailto:[email protected]
电子邮件标题的 6 个检查点
ARC 身份验证结果:spf=pass dkim=pass dmarc=pass
身份验证结果:spf=pass dkim=pass dmarc=pass
已接收 SPF:通过(protection.outlook.com:mydomain.com 的域指定 40.107.243.43 为允许的发件人)
ARC 身份验证结果:spf=pass dkim=pass dmarc=pass
Authentication-Results-Original:spf=none(发件人 IP 是)
已接收 SPF:无(protection.outlook.com:mydomain.com 未指定允许的发件人主机)
完整的电子邮件标题
ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is
40.107.243.43) smtp.rcpttodomain=hotmail.com smtp.mailfrom=mydomain.com;
dmarc=pass (p=reject sp=reject pct=100) action=none
header.from=mydomain.com; dkim=pass (signature was verified)
header.d=netorgft3858956.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1
spf=[1,1,smtp.mailfrom=mydomain.com] dkim=[1,1,header.d=mydomain.com]
dmarc=[1,1,header.from=mydomain.com])
Received: from SN1NAM01FT009.eop-nam01.prod.protection.outlook.com
(10.152.64.52) by SN1NAM01HT139.eop-nam01.prod.protection.outlook.com
(10.152.65.197) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.18; Sun, 12 Apr
2020 21:03:41 +0000
Authentication-Results: spf=pass (sender IP is 40.107.243.43)
smtp.mailfrom=mydomain.com; hotmail.com; dkim=pass (signature was verified)
header.d=NETORGFT3858956.onmicrosoft.com;hotmail.com; dmarc=pass action=none
header.from=mydomain.com;compauth=pass reason=100
Received-SPF: Pass (protection.outlook.com: domain of mydomain.com
designates 40.107.243.43 as permitted sender)
receiver=protection.outlook.com; client-ip=40.107.243.43;
helo=NAM12-DM6-obe.outbound.protection.outlook.com;
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (40.107.243.43)
by SN1NAM01FT009.mail.protection.outlook.com (10.152.65.54) with Microsoft
SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.2900.18 via Frontend Transport; Sun, 12 Apr 2020 21:03:40 +0000
X-IncomingTopHeaderMarker:
OriginalChecksum:F5F3FFF61F9E4477F1F3B30CB8587502FF2B1026E8AEF7FE80FDAB59218A2BAC;UpperCasedChecksum:903EAF958FCDDD1FA09C1B9ED806AB00E5149FBB754F6D3EA04FE9A6050CB98A;SizeAsReceived:5869;Count:43
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=K5/XSgZYEECmZI+WSF5mybBGLukGhosRKwLxCkiFBJ6MsQbT2fEGkP3v47QHGdc3q9yG1cTw/dDFjlAbWYAeQC7BfHf/SVcv20KAjzU2GOQ3HOgAe14xvTR90TI468OYi+EPiOLWiZSn8ex02O+G6zy5TNYhxOqCky895GUvYShvjYkCz7y5Lk9602y4GxWI2s/JO1KDysHEozDRObQvHgWMClsbQ3EY5LSq7+DfssEt4yzXk1bWX30heCCoZzv0qpYLCa+e74KRUpZDiS8ApCX+faR9xTnkNvInsQO2VO0quKh1mZ8zcbfgLCZD5eV2qkVnQlFxg8q+28zUW2xcJg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=FEoOtS0LShClyJqsdDLafGX7ABa4mJpS7VUSDOhsAvo=;
b=T0i/lwvdY/00TTdld3Gn+1tkHxnafSdKNXDRKE2hMx+J2tvHHdmuFeYJ56Nb6Li81Muz0RC2AV9nmNwf/dsKpiBwDMk3rNOFQn/ybgJqm0+Rx760XkoThbZevq+v80aZoIoWiuv2uwT/FlTaSomyI2jYVeRUL9tfsBlEK/kcqZUIpK+Svs2d0rWXAg1dIec5Tz4wOrTiEuoKfvRfmgz3p1c+aUVYCPCvtr5xyFNl77mnKV1ZACfYd7DqKOoi/vBl/+RP1YGRiDYq0GI7spaXEXpRfZgFo/EgGKffS3IKF0cDFJBnKZbjXIZQ+IGRTY0BR/OfBh4OEAjEhCkOqg6Z6w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=mydomain.com; dmarc=pass action=none
header.from=mydomain.com; dkim=pass header.d=mydomain.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=NETORGFT3858956.onmicrosoft.com;
s=selector2-NETORGFT3858956-onmicrosoft-com;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=FEoOtS0LShClyJqsdDLafGX7ABa4mJpS7VUSDOhsAvo=;
b=KMx/4rF+7pLmgSR+rCypM8GlcgV3o7Bsoma9Vaayo2n5/qugm7VRY8Z0stSMm0D2nJPgMUz8Eb7CSck1djF2EN14a5ZHiej6eRC9Z3VFNVHiB8NoC9yZLtGxV4uPY9jh64l4m1bMwlBsQvR7cNggj99fTs8oAis973srfpab5c0=
Authentication-Results-Original: spf=none (sender IP is )
[email protected];
Received: from BL0PR05MB4706.namprd05.prod.outlook.com (2603:10b6:208:58::28)
by BL0PR05MB4594.namprd05.prod.outlook.com (2603:10b6:208:54::17) with
Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.20; Sun, 12 Apr
2020 21:03:38 +0000
Received: from BL0PR05MB4706.namprd05.prod.outlook.com
([fe80::545c:d733:40dc:8226]) by BL0PR05MB4706.namprd05.prod.outlook.com
([fe80::545c:d733:40dc:8226%4]) with mapi id 15.20.2921.022; Sun, 12 Apr 2020
21:03:38 +0000
Date: Sun, 12 Apr 2020 17:03:37 -0400
Return-Path: [email protected]
To: [email protected]
From: My Website <[email protected]>
Subject: Replacement login information for [email protected] at my website
Message-ID: <[email protected]>
X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net)
Content-Transfer-Encoding: 8Bit
Content-Type: text/plain; charset="utf-8"
X-ClientProxiedBy: MN2PR15CA0046.namprd15.prod.outlook.com
(2603:10b6:208:237::15) To BL0PR05MB4706.namprd05.prod.outlook.com
(2603:10b6:208:58::28)
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from www.mydomain.com (2600:3c03::f03c:91ff:fe9d:f920) by MN2PR15CA0046.namprd15.prod.outlook.com (2603:10b6:208:237::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.17 via Frontend Transport; Sun, 12 Apr 2020 21:03:37 +0000
X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net)
X-Originating-IP: [2600:3c03::f03c:91ff:fe9d:f920]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 9517a6ea-47b9-4e09-3f93-08d7df24fa5b
X-MS-TrafficTypeDiagnostic: BL0PR05MB4594:|SN1NAM01HT139:
X-Microsoft-Antispam-PRVS:
<BL0PR05MB45941EF0A6C2FD3D650922EAA7DC0@BL0PR05MB4594.namprd05.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:8273;
X-Forefront-PRVS: 0371762FE7
X-Forefront-Antispam-Report-Untrusted:
CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL0PR05MB4706.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10009020)(346002)(366004)(39830400003)(396003)(376002)(136003)(47550400004)(7696005)(508600001)(45080400002)(6916009)(108616005)(2906002)(24736004)(52116002)(186003)(16526019)(52230400001)(316002)(966005)(66556008)(8676002)(86362001)(5660300002)(4744005)(8936002)(66574012)(81156014)(55016002)(66946007)(66476007)(6770600001)(47956004)(1531001)(15302535012);DIR:OUT;SFP:1101;
Received-SPF: None (protection.outlook.com: mydomain.com does not designate
permitted sender hosts)
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original:
npS4WhWIxcjOppTNIN8J8x90ThJuhGUnvs/V6bdIJx4VS7pAWodbk/kHt2KCObo4/QbCYtorL8SbEd/jlmWVNQxpbKHx4elhW9KMvYS4yyR5w+7yjgTQvy3/xPC+4Qua5goSZ6OwuOXXPab4yE0i7HMHnNZ7slsvgV2zBWYUITkxpzUi0JiMBgPEyC3im9NI/DfA4HKB442/lzCEcGsQY2I1+pBYssDGevTG6qtabSmoXng1qyo3RP7WiGvZCJFgMf30iX3u2cLT50YUl29iIrGdHPffrSAfpzpKbekoNcIUEAG2jpTRXOMHxtKEXNqKfFPk71eFN+93HumBtFb0TvfEqBDoF5wRkbjYowWI4PXX+beMPtbNnvzr69ttVzTrqseKUtRZ8t83CUUmgKjyXXYnhDX9cwaCX9CAFpIiE9XjrEr4ihxkDrRnDgCPK/r42lmxD45hpMT16k7SPuywcKvdq0P9lPCCZtgX8pMIJ20lOZ3vVcL3/omP64uCpEsdfE2DHL3bpP06b2Ni/sZkmJWjA7dHy66GKjbQZoxj6EJWxwgsA86Y7IRhtyp/ML0E6M/I4WWawCMzpCa9t1Yv+vp7GAmxlx48c9tIH9FK8jTRfNnHCaoU2DFYSnX8lON0nBop0EMTrm5yj3K9+stHeQ==
X-MS-Exchange-AntiSpam-MessageData:
6eQE7H/QYoGc6mz98WrbhfPc53bFbojvNBElQo8cEmlwpdRX/WMJ31LjxbaKUijAqrxDahXPUInIRmh4QMEIvesHL2Aq8X8tXlfHo1oi5HXnwmjaeoafUd7CCWg3AkWtECbwetJ2pa/m8WcFpNOB/IdC8eXeDlCAb1/UolfQ78iUYASA5rYOM2RTLFBc+9sQ
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR05MB4594
X-IncomingHeaderCount: 43
X-MS-Exchange-Organization-ExpirationStartTime: 12 Apr 2020 21:03:40.8315
(UTC)
X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit
X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000
X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit
X-MS-Exchange-Organization-Network-Message-Id:
9517a6ea-47b9-4e09-3f93-08d7df24fa5b
X-EOPAttributedMessage: 0
X-EOPTenantAttributedMessage: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa:0
X-MS-Exchange-Organization-MessageDirectionality: Incoming
X-MS-Exchange-Transport-CrossTenantHeadersStripped:
SN1NAM01FT009.eop-nam01.prod.protection.outlook.com
X-MS-Exchange-Transport-CrossTenantHeadersPromoted:
SN1NAM01FT009.eop-nam01.prod.protection.outlook.com
X-Forefront-Antispam-Report:
CIP:40.107.243.43;CTRY:US;LANG:en;SCL:0;SRV:;IPV:NLI;SFV:NSPM;H:NAM12-DM6-obe.outbound.protection.outlook.com;PTR:mail-dm6nam12on2043.outbound.protection.outlook.com;CAT:NONE;SFTY:;SFS:;DIR:INB;SFP:;
X-MS-Exchange-Organization-AuthSource:
SN1NAM01FT009.eop-nam01.prod.protection.outlook.com
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-UserLastLogonTime: 4/12/2020 9:03:10 PM
X-MS-Office365-Filtering-Correlation-Id-Prvs:
2521d295-637b-47a2-0f56-08d7df24f8b0
X-MS-Exchange-EOPDirect: true
X-Sender-IP: 40.107.243.43
X-SID-PRA: [email protected]
X-SID-Result: PASS
X-MS-Exchange-Organization-PCL: 2
X-MS-Exchange-Organization-SCL: 0
X-Microsoft-Antispam: BCL:0;
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2020 21:03:40.7546
(UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 9517a6ea-47b9-4e09-3f93-08d7df24fa5b
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-FromEntityHeader: Internet
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg:
00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM01HT139
X-MS-Exchange-Transport-EndToEndLatency: 00:00:00.7701309
X-MS-Exchange-Processed-By-BccFoldering: 15.20.2900.012
X-Microsoft-Antispam-Mailbox-Delivery:
abwl:1;rwl:0;ucf:0;jmr:0;ex:1;auth:1;dest:I;OFR:SenderInAddressBook;ENG:(5062000262)(9000001)(9030002)(5061607266)(5061608174)(4900115)(4920090)(6375004)(4950130)(560107);
X-Message-Info:
5vMbyqxGkdfWvkml9Q14yRenf/nn4DUZ1duaesO4N0V9KAzWFGb/0BEgLbBV4yK2AFu9Bv5hSLRDpI2G6KD7DEyIxqap640xF4cqVg3VRTS5hgAUEHbr1PYMbZtjeydAJCae3q8EWtdzXF/P72K34sxBNfK+visP4x13lyRSvhPI92cUC7/SIDmYD12O8OXG5kfrm6E/B+SfQdkYpu+5GA==
X-Message-Delivery: Vj0xLjE7dXM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