我正在 Ubuntu Server 上使用 Mailman 创建邮件列表。我的服务器的主域是DOMAIN1.FR
,但我的邮件列表是[email protected]
。
我想我已经做完了所有的事情,但我的电子邮件却被标记为垃圾邮件。
这是我从 发送邮件到Port25.com
时收到的邮件的分析:[email protected]
[email protected]
==========================================================
Summary of Results
==========================================================
SPF check: pass
DomainKeys check: neutral
DKIM check: pass
DKIM check: fail
SpamAssassin check: ham
==========================================================
Details:
==========================================================
HELO hostname: DOMAIN1.fr
Source IP: [MY IP]
mail-from: [email protected]
----------------------------------------------------------
SPF check details:
----------------------------------------------------------
Result: pass
ID(s) verified: [email protected]
DNS record(s):
DOMAIN2.fr. SPF (no records)
DOMAIN2.fr. 360 IN TXT "v=spf1 mx a ptr ?all"
DOMAIN2.fr. MX (no records)
DOMAIN2.fr. 360 IN A [MY IP]
----------------------------------------------------------
DomainKeys check details:
----------------------------------------------------------
Result: neutral (message not signed)
ID(s) verified: [email protected]
DNS record(s):
----------------------------------------------------------
DKIM check details:
----------------------------------------------------------
Result: pass (matches Sender: [email protected])
ID(s) verified: header.d=DOMAIN2.fr
Canonicalized Headers:
sender:"ticsve"'20'<[email protected]>'0D''0A'
content-transfer-encoding:base64'0D''0A'
content-type:text/plain;'20'charset="utf-8"'0D''0A'
list-subscribe:<http://DOMAIN2.fr/cgi-bin/mailman/listinfo/ticsve>,'20'<mailto:[email protected]?subject=subscribe>'0D''0A'
list-help:<mailto:[email protected]?subject=help>'0D''0A'
list-post:<mailto:[email protected]>'0D''0A'
list-archive:<http://DOMAIN2.fr/pipermail/ticsve/>'0D''0A'
list-unsubscribe:<http://DOMAIN2.fr/cgi-bin/mailman/options/ticsve>,'20'<mailto:[email protected]?subject=unsubscribe>'0D''0A'
list-id:<ticsve.DOMAIN2.fr>'0D''0A'
subject:[ticsve]'20'Bon'20'encore'20'un'20'test'0D''0A'
to:[email protected]'0D''0A'
message-id:<CAGXJdLwio8yKVo2hwN_Bx5=D4YPKN4hUvqQsNosDfWyTomsV1w@mail.gmail.com>'0D''0A'
date:Thu,'20'13'20'Oct'20'2016'20'22:30:27'20'+0200'0D''0A'
from:Valentin'20'A'20'<[email protected]>'0D''0A'
mime-version:1.0'0D''0A'
dkim-signature:v=1;'20'a=rsa-sha256;'20'q=dns/txt;'20'c=relaxed/relaxed;'20'd=DOMAIN2.fr;'20's=20140919;'20'h=Sender:Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:To:Message-ID:Date:From:MIME-Version;'20'bh=gVxflKxOx84RES68MJK1T0Jgiq+M2zBArewFdZ2y/Ek=;'20'b=;
Canonicalized Body:
xxxxx
DNS record(s):
20140919._domainkey.DOMAIN2.fr. 360 IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDckpRYnhPuLw+AL+GMClusPLOxX216nXI/RwEJ7Lj79dwxo67YEqZz3RQM0vcmpsjAl008tLORilGy+n6z0DVfPFeVGNVYriGXGKTSnFiJhZs73Q4fX6/LlnY/a8DVK78d8OSk5vC7axDBoA7kiY0/E7VhnvQNfC93zRuG/cKqCwIDAQAB"
Public key used for verification: 20140919._domainkey.DOMAIN2.fr (1024 bits)
NOTE: DKIM checking has been performed based on the latest DKIM specs
(RFC 4871 or draft-ietf-dkim-base-10) and verification may fail for
older versions. If you are using Port25's PowerMTA, you need to use
version 3.2r11 or later to get a compatible version of DKIM.
----------------------------------------------------------
DKIM check details:
----------------------------------------------------------
Result: fail (wrong body hash: expected gVxflKxOx84RES68MJK1T0Jgiq+M2zBArewFdZ2y/Ek=)
ID(s) verified:
Canonicalized Headers:
mime-version:1.0'0D''0A'
from:Valentin'20'A'20'<[email protected]>'0D''0A'
date:Thu,'20'13'20'Oct'20'2016'20'22:30:27'20'+0200'0D''0A'
message-id:<CAGXJdLwio8yKVo2hwN_Bx5=D4YPKN4hUvqQsNosDfWyTomsV1w@mail.gmail.com>'0D''0A'
subject:[ticsve]'20'Bon'20'encore'20'un'20'test'0D''0A'
to:[email protected]'0D''0A'
content-transfer-encoding:base64'0D''0A'
dkim-signature:v=1;'20'a=rsa-sha256;'20'c=relaxed/relaxed;'20'd=gmail.com;'20's=20120113;'20'h=mime-version:from:date:message-id:subject:to'20':content-transfer-encoding;'20'bh=X1vyuq7wb47KGjR/trjfifs4kjrgQmTHo+yckBQhX5Y=;'20'b=
Canonicalized Body:
xxxxxxxxxx
DNS record(s):
NOTE: DKIM checking has been performed based on the latest DKIM specs
(RFC 4871 or draft-ietf-dkim-base-10) and verification may fail for
older versions. If you are using Port25's PowerMTA, you need to use
version 3.2r11 or later to get a compatible version of DKIM.
----------------------------------------------------------
SpamAssassin check details:
----------------------------------------------------------
SpamAssassin v3.4.0 (2014-02-07)
Result: ham (-1.4 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
(valentin.A[at]gmail.com)
0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source
[209.85.215.44 listed in dnsbl.sorbs.net]
0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is
CUSTOM_MED
0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail
domains are different
-0.0 SPF_PASS SPF: sender matches SPF record
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
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.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom
freemail headers are different
==========================================================
Original Email
==========================================================
Return-Path: <[email protected]>
Received: from DOMAIN1.fr ([MY IP]) by verifier.port25.com id hvvng220i3gn for <[email protected]>; Thu, 13 Oct 2016 16:30:57 -0400 (envelope-from <[email protected]>)
Authentication-Results: verifier.port25.com; spf=pass [email protected]
Authentication-Results: verifier.port25.com; domainkeys=neutral (message not signed) [email protected]
Authentication-Results: verifier.port25.com; dkim=pass (matches Sender: [email protected]) header.d=DOMAIN2.fr
Authentication-Results: verifier.port25.com; dkim=fail (wrong body hash: expected gVxflKxOx84RES68MJK1T0Jgiq+M2zBArewFdZ2y/Ek=)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=DOMAIN2.fr; s=20140919;
h=Sender:Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:To:Message-ID:Date:From:MIME-Version; bh=gVxflKxOx84RES68MJK1T0Jgiq+M2zBArewFdZ2y/Ek=;
b=PzoqeM78DETVW92AhKDsxCNLG65dL4teyUFgGs+1sc/uJngXeNsat91feF751r6PsdYOalaY12FEkNamUPDJ6jLxPAkzu00FDTb1CJYLADPiNdZ6w837JOLnrvIJ3X+L8jsMC3HYg07p6eqE0Sra35+XufQipa5Ddy0FRPe3rf4=;
Received: from localhost ([127.0.0.1] helo=ksxxxxxx.kimsufi.com)
by DOMAIN1.fr with esmtp (Exim 4.82)
(envelope-from <[email protected]>)
id 1bumeU-0007Ry-IE; Thu, 13 Oct 2016 22:30:54 +0200
Received: from mail-lf0-f44.google.com ([209.85.215.44])
by DOMAIN1.fr with esmtp (Exim 4.82)
(envelope-from <[email protected]>) id 1bumeS-0007Rr-BJ
for [email protected]; Thu, 13 Oct 2016 22:30:52 +0200
Received: by mail-lf0-f44.google.com with SMTP id b81so151665357lfe.1
for <[email protected]>; Thu, 13 Oct 2016 13:30:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:from:date:message-id:subject:to
:content-transfer-encoding;
bh=xxxxxx
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to
:content-transfer-encoding;
bh=xxxxx
X-Gm-Message-State: xxxx
X-Received: by 10.25.38.149 with SMTP id xxxx;
Thu, 13 Oct 2016 13:30:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.196.213 with HTTP; Thu, 13 Oct 2016 13:30:27 -0700 (PDT)
From: Valentin A <[email protected]>
Date: Thu, 13 Oct 2016 22:30:27 +0200
Message-ID: <CAGXJdLwio8yKVo2hwN_Bx5=D4YPKN4hUvqQsNosDfWyTomsV1w@mail.gmail.com>
To: [email protected]
Subject: [ticsve] Bon encore un test
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.16
Precedence: list
List-Id: <ticsve.DOMAIN2.fr>
List-Unsubscribe: <http://DOMAIN2.fr/cgi-bin/mailman/options/ticsve>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://DOMAIN2.fr/pipermail/ticsve/>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://DOMAIN2.fr/cgi-bin/mailman/listinfo/ticsve>,
<mailto:[email protected]?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Errors-To: [email protected]
Sender: "ticsve" <[email protected]>
xxxxx
答案1
- 您的电子邮件经过了两次 DKIM 签名,一次通过,一次失败。看起来它首先由 GMAIL 签名,然后您的邮件服务器对其进行签名(但邮件正文被更改,导致原始 GMAIL DKIM 签名失败。由于您
Canonicalized Body
在端口 25 的报告中“xxxxxx”,因此很难有人指出发生了什么变化。 接下来看一下Spam Assassin报告:
RBL: SORBS: sender is a spam source [209.85.215.44 listed in dnsbl.sorbs.net]
您被列入 SORBS RBL,这也是您的电子邮件可能被标记为垃圾邮件的另一个原因。RBL = 实时黑名单 - 您应该使用黑名单监控工具。
- Port25 报告是一个很好的工具,但它只检查电子邮件中使用的身份验证方法,它不会检测配置问题,就像真正的电子邮件测试器,这也会导致您的电子邮件成为垃圾邮件。