我正在测试联系表格,但从联系/预订表格发送的电子邮件得分太高了。
以下是标题:
Return-Path: <[email protected]>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail01
X-Spam-Flag: YES
X-Spam-Level: **************************************************
X-Spam-Report:
* 0.2 CK_HELO_GENERIC Relay used name indicative of a Dynamic Pool or
* Generic rPTR
* 0.4 NO_DNS_FOR_FROM DNS: Envelope sender has no MX or A DNS records
* 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail
* domains are different
* 1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 1.1 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* 0.6 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag
* 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid
* 2.5 FREEMAIL_FORGED_REPLYTO Freemail in Reply-To, but not From
X-Spam-Status: Yes, score=1005.0 required=8.0 tests=CK_HELO_GENERIC,
DKIM_SIGNED,FREEMAIL_FORGED_REPLYTO,GTUBE,HEADER_FROM_DIFFERENT_DOMAINS,
HTML_MESSAGE,HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY,NO_DNS_FOR_FROM,
T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0
Delivered-To: [email protected]
Received: by yyy.glmr.in (Postfix, from userid 994)
id 65C36C71; Fri, 24 Aug 2018 08:42:21 +0000 (UTC)
X-Sieve: Pigeonhole Sieve 0.4.2
X-Sieve-Redirected-From: [email protected]
Delivered-To: [email protected]
Received: from host49-253-177-94.static.arubacloud.com (sergioloporto.com [94.177.253.49])
by yyy.glmr.in (Postfix) with ESMTP id D6D09C63
for <[email protected]>; Fri, 24 Aug 2018 10:42:20 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
d=tantramassageamsterdam.net; s=default; t=1535100140;
bh=WSOTVXfvkyyb1gOOG6N6iGnxfvNm9xMtd9vuIZPexBE=;
h=To:Subject:Date:From:Reply-To;
b=f4EDlRfPzqqFBDdiR7FIRldS9u4Ru7nT1DwGSCkeThQ4zgzQ2pRfjwb7pSAE5RzPW
8MNnUgnwXcTPFXub/w88ouOTt9icozT3DGgyJ5SuzxNjYjH5qe8SRDaFuZc2Xzy/iG
SlpxFBuOYaqdtgqjJez5JHgVW4I8Q0RU2iGmMIos=
Received: by host49-253-177-94.static.arubacloud.com (Postfix, from userid 996)
id F1E89DE4; Fri, 24 Aug 2018 04:42:19 -0400 (EDT)
To: [email protected]
Subject: [SPAM] New booking information
X-PHP-Originating-Script: 996:class-phpmailer.php
Date: Fri, 24 Aug 2018 08:42:19 +0000
From: Tantra Massage Amsterdam <[email protected]>
Reply-To: test test <[email protected]>
Message-ID: <[email protected]>
X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Prev-Subject: New booking information
X-Spam-Prev-Subject: [SPAM] New booking information
X-EsetId: 37303A29DFC05762617D64
我将上述电子邮件的某些部分替换为 YYYY。我故意发送了一封 GTUBE 测试垃圾邮件,以获得高分,以便在标题中包含详细信息。
我明白那个免费电子邮件回复无法修复 - 因为客户将拥有一个免费的电子邮件地址,而表单将其放在“回复”中。有什么办法可以修复吗?
这些怎么办?可以修复吗?:
* 0.2 CK_HELO_GENERIC Relay used name indicative of a Dynamic Pool or Generic rPTR
* 0.4 NO_DNS_FOR_FROM DNS: Envelope sender has no MX or A DNS records
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid
* 0.6 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML ta
邮件服务器和 Web 服务器都设置了 rDNS!因此我无法理解 rDNS x-spam-reports...
如果您能:
- 更好地解释这些观点
- 告诉我要检查什么
- 修复什么/如何修复
提前致谢
答案1
由于您拥有联系表单,因此您只需在 local.cf 中将发件人地址列入白名单即可,方法是
whitelist_from [电子邮件保护]
或者更好的是,
whitelist_from_rcvd [电子邮件保护]yyy.glmr.in
whitelist_from_rcvd还会检查 Received-header,以便垃圾邮件发送者不能伪造发件人地址。
如果您的意思是这样,那么您提到的检查都可以用自定义分数覆盖:
分数 FREEMAIL_FORGED_REPLYTO 0 # 现在将给出 0 分,而不是默认值。
你获得不同状态的原因是
- FREEMAIL_FORGED_REPLYTO:您的发送地址与回复地址不匹配,而 Google 是免费服务。免费服务意味着更多的垃圾邮件发送者,所以这就是它存在的原因。您只需将邮件中的回复地址发送到[电子邮件保护]以便他们复制/点击回复地址并在那里写下答案。
- CK_HELO_GENERIC = 已接收:来自 host49-253-177-94.static.arubacloud.com,这通常是您为最终用户(而不是服务器)执行反向 DNS 的方式,尤其是邮件服务器应该具有适当的 PTR。这通常由托管服务提供商中的某个界面设置。
- NO_DNS_FOR_FROM DNS = 由于您没有 PTR,我猜您也没有设置 MX 来指向您的邮件服务器。这通常也适用于垃圾邮件,因为它们不使用用户服务器,而是使用其他客户端计算机。
- DKIM_SIGNED = 这就是上面所说的,有一个 DKIM 签名。
- HTML_MIME_NO_HTML_TAG = 也就是说,这封邮件中只有 HTML 消息,没有 HTML 标签来指定邮件。