我正在使用 SendGrid 来中继通过 Drupal 发送的电子邮件。尽管使用了 DKIM、DMARC、SPF、反向 DNS 等所有安全措施,Gmail 仍将注册验证电子邮件标记为垃圾邮件,这让我很头疼...我已将 SendGrid 设置为使用 2 个专用 IP。
通过同一 CMS 发送的其他交易电子邮件中,这种情况并不多见(或者至少我没有收到这么多用户报告)。所以我想知道这是否与电子邮件的副本有关(也许在主题中使用了电子邮件和密码?)。
以下是电子邮件内容:
Received: by mail-tester.com (Postfix, from userid 500)
id 22962A0BA9; Thu, 7 Sep 2023 11:36:50 +0200 (CEST)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail-tester.com
X-Spam-Level:
X-Spam-Status: No/0.5/5.0
X-Spam-Test-Scores: DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,
DKIM_VALID_EF=-0.1,HTML_IMAGE_ONLY_20=0.7,HTML_MESSAGE=0.001,
SPF_HELO_NONE=0.001,SPF_PASS=-0.001,UNPARSEABLE_RELAY=0.001,
URIBL_BLOCKED=0.001
X-Spam-Last-External-IP: 149.72.70.96
X-Spam-Last-External-HELO: o2.ptr5494.generation.global
X-Spam-Last-External-rDNS: o2.ptr5494.generation.global
X-Spam-Date-of-Scan: Thu, 07 Sep 2023 11:36:50 +0200
X-Spam-Report:
* 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was
* blocked. See
* http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
* for more information.
* [URIs: generation.global]
* -0.0 SPF_PASS SPF: sender matches SPF record
* 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
* 0.7 HTML_IMAGE_ONLY_20 BODY: HTML: images with 1600-2000 bytes of
* words
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
* -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
* envelope-from domain
* 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay
* lines
Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=149.72.70.96; helo=o2.ptr5494.generation.global; envelope-from=bounces+1455748-9606-test-noj289t8t=srv1.mail-tester.com@email.generation.global; [email protected]
DMARC-Filter: OpenDMARC Filter v1.3.1 mail-tester.com 818F8A0BAE
Authentication-Results: mail-tester.com; dmarc=pass header.from=generation.global
Authentication-Results: mail-tester.com;
dkim=pass (2048-bit key; unprotected) header.d=generation.global [email protected] header.b=2xi/S5B1;
dkim-atps=neutral
Received: from o2.ptr5494.generation.global (o2.ptr5494.generation.global [149.72.70.96])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by mail-tester.com (Postfix) with ESMTPS id 818F8A0BAE
for <[email protected]>; Thu, 7 Sep 2023 11:36:45 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=generation.global;
h=content-type:from:mime-version:subject:to:cc:content-type:from:
subject:to;
s=s1; bh=VNik7W3spVoPXOL9Pe/iAk8NWnAsTueGVG0bE354jWE=;
b=2xi/S5B1SjFcxSbsyqf4yBw1DyCg1kdglqBy2llbGUkuxlFMXeTJzCPKUh/7AuregHvS
PlgUrFWVtst2F5BjSlyb+7IiM6EY0thV8EQlhECkdWXZ/xX6+udHHbQ8uXcsTfB6w4ufvT
UXnTGrEMUgPlXF/Zi7dq1/bfUCwMg9jW85SMnuyKNJcSW26+h4euaQTCmIKXVdMQax8LMs
qhMpQ5DJHGaQIE/QBqs/qrJT8ZXf2/CpKRup0+iCBcV/PLHV3TqK7iHBxOHfsRO0C+aZW8
AIXKVfVfBamTznoqK8pIaP3Pa0nY8OjWtyVdOM1QKDNeyC4f/YCghGagnZhtyyYg==
Received: by filterdrecv-d7bbbc8bf-r6vsn with SMTP id filterdrecv-d7bbbc8bf-r6vsn-1-64F999AB-1
2023-09-07 09:36:43.122578653 +0000 UTC m=+6193231.319333022
Received: from MTQ1NTc0OA (unknown)
by geopod-ismtpd-5 (SG) with HTTP
id s09u95VoQgCqnWJ62_6_Jw
for <[email protected]>;
Thu, 07 Sep 2023 09:36:42.966 +0000 (UTC)
Content-Type: multipart/alternative; boundary=953f2f71d3cc057b35d2548e10420b0c12b9e8296557c5bdcb71f06a9ab3
Date: Thu, 07 Sep 2023 09:36:43 +0000 (UTC)
From: Generation Global <[email protected]>
Mime-Version: 1.0
Subject: Confirm your email address and set your password
Message-ID: <s09u95VoQgCqnWJ62_6_Jw@geopod-ismtpd-5>
X-SG-EID:
=?us-ascii?Q?Xt7jwbpeS7ePvcb7wfzapY18feVwdv8y=2FNk3PHticMZ+mcfHuT+e1pqmHtpBqY?=
=?us-ascii?Q?qPxn5Sxq7E=2F=2FKSRpy9073cWUxl+s9D4ldWzZtxi?=
=?us-ascii?Q?BjIYIDiOEaSCFtP6GZmzY2G02sueFGVZCOX3huP?=
=?us-ascii?Q?38lIdgS3cqafS6cPSP0dAfb+GPmoUtHmrx+oCkE?=
=?us-ascii?Q?y7kHOCORoLpaYDeRHSxPjobmOiLM2YH7DGpteu=2F?=
=?us-ascii?Q?rVMnDT2ycQs5AhdPeH=2FVVPcpVL=2FKoam6mm5rXE3?=
=?us-ascii?Q?tl1pEsKdhSoiDdwhxuantJdXyQPpBmBxWSxd1Qg?= =?us-ascii?Q?nM4=3D?=
X-SG-ID:
=?us-ascii?Q?N2C25iY2uzGMFz6rgvQsb8fga5n54QRd+qJeKTHTMRl8SOyCCBCf3p5maOTknh?=
=?us-ascii?Q?gtwazv1EA7ampdFt8T+QCumT2O+RNz7DUll=2FRZt?=
=?us-ascii?Q?LIRdb9BI5nPn+Sv6n0WjfBvJc4yEbFDtfbPKLbB?=
=?us-ascii?Q?3QsIUQOFB1ZIjZuCnD8yn3YULXOIhEzhE7lRGtK?=
=?us-ascii?Q?aSOnEhCBgfv4XCMyoP2M4qmCDa70CPJ034eqczg?=
=?us-ascii?Q?3bGcY7d4D6yI55Pr0=3D?=
To: [email protected]
X-Entity-ID: T2i3yDP3SaZzBBKZ1DMPgA==
--953f2f71d3cc057b35d2548e10420b0c12b9e8296557c5bdcb71f06a9ab3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Dear Student,
Thank you for registering your account on Generation Global. Now we
just need you to confirm your email address so you can get started on
our site. Please click on the link below to confirm your email address
and set your password:
Confirm email and set password
[https://adventure.generation.global/student/reset/56170/1694079401/kwUczgz=
A5WnAsFB66rNpo-MzNYEzZ7QBT5uqsUW5QE0]
If you have any questions please contact our support at
generation.global/support [https://generation.global/support].
The Generation Global Team
--953f2f71d3cc057b35d2548e10420b0c12b9e8296557c5bdcb71f06a9ab3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=us-ascii
Mime-Version: 1.0
<p>Dear Student,</p>
<p>
Thank you for registering your account on Generation Global.
Now we just need you to confirm your email address so you can get started=
on our site.
Please click on the link below to confirm your email address and set your=
password:
</p>
<p><a href=3D"https://adventure.generation.global/student/reset/56170/16940=
79401/kwUczgzA5WnAsFB66rNpo-MzNYEzZ7QBT5uqsUW5QE0">Confirm email and set pa=
ssword</a></p>
<p>If you have any questions please contact our support at <a href=3D"https=
://generation.global/support">generation.global/support</a>.</p>
<p>The Generation Global Team</p>
<p><img alt=3D"Generation Global" src=3D"https://generation.global/android-=
chrome-192x192.png" style=3D"height:120px; width:120px" /></p>
<img src=3D"http://mail.generation.global/wf/open?upn=3DCGUeh9-2FN5rG1LZ-2B=
9pan7arSj-2Bi-2B25ICZny4hSCkMZ4rbSqMLteZiRPKm4CNWI44zwXM-2Ff2AmZJR4MvCiYPTn=
Go7LXnaq1lh0e9KJzkIYC-2B3RK5nlWSPSswcZdPr4m6Lhbhvsuq8sLsiLwbzfy0WGFpq3yp-2F=
pyCmCW8vvjP80Cp90SmhMoAfXn318qXjpv5gci6abl0VDtuzCB7xGU9CSvg1WCaXOENw124PU2b=
zghoPG5taQpR6Tl-2FRnGSbnYCJjy3AoANdwLKA-2FOvnVEZG5AcxYqVrTc9uvrWBRsdZoxvCjn=
GTZPQetMSfJiQMjDzgsGxqcwQMqLpHNk5ubYvXQDoCjk4OZxrJYRDzjsxSNCh90sfs56sFQgUre=
UC0T5d6OwpGDYF2J3KzgJxk2wzEPoWk-2B-2Bd75LrTx5lFim7B-2FLNePLLy1G9agM2QxA6WCg=
u7a8MD9HxNZ-2FLo5TDw23EvWsA-3D-3D" alt=3D"" width=3D"1" height=3D"1" border=
=3D"0" style=3D"height:1px !important;width:1px !important;border-width:0 !=
important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0=
!important;margin-left:0 !important;padding-top:0 !important;padding-botto=
m:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
--953f2f71d3cc057b35d2548e10420b0c12b9e8296557c5bdcb71f06a9ab3--
详细信息: https://www.mail-tester.com/test-noj289t8t
编辑:在进行了另一次测试后,我发现了一个明显 DMARC 失败的例子:https://www.mail-tester.com/test-tri7i0dx9&reloaded=1
我不知道为什么会这样,因为该电子邮件来自与通过 DMARC 的电子邮件完全相同的 IP 地址,所以我很难理解问题所在。
你知道为什么它们被标记为垃圾邮件吗?
答案1
任何电子邮件服务提供商都有自己的垃圾邮件检测秘诀 - SPF、DKIM 和 DMARC 在其中发挥作用,但它们仅验证电子邮件的来源。没有一家提供商会确切地告诉您他们的规则是如何运作的,原因有二:
- 这使得垃圾邮件发送者更容易绕过规则
- 供应商通常不知道他们的一些过滤器是如何工作的
所以没有人可以回答你的问题。
你正在做正确的事情(尽管你的 RMX 有点俗气 - 另一方面 - 你无法改变这一点,因为它由 Sendgrid + Sendgrid 的托管控制 / RMX 已被弃用尽管一些提供商仍在使用它)。
我在这里唯一注意到的是可能帮助知识产权是添加一个取消订阅标头。