![HELO 请求中使用的 IP](https://linux22.com/image/673560/HELO%20%E8%AF%B7%E6%B1%82%E4%B8%AD%E4%BD%BF%E7%94%A8%E7%9A%84%20IP%20.png)
我目前正在设置我的新 VPS,以便我的电子邮件不会进入垃圾邮件文件夹(即 Gmail、Hotmail 等)。要实现这一切,需要正确设置所有 DNS/SMTP 配置。使用 mail-tester.com,我获得了 8.2 分(满分 10 分),但有一件事我无法解决。
您可以在这里找到我的邮件测试结果:http://www.mail-tester.com/web-dWaMuK
问题:
-1 FSL_HELO_BARE_IP_2 IP used in the HELO request
The hostname must be a domain name, not an IP-address
-0.865 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO
我有一个来自 TransIP 的 VPS,运行在 CENTOS 7.1 上,并带有 WHM/cPanel 设置。
我阅读了几个教程来正确设置它,到目前为止我所做的就是:
- 为 VPS 指定主机名
- 将主机名设置为 rDNS,并在 DNS 中为其提供 A 记录
- SPF 和 DKIM 有效,通过测试。
- 按照以下说明在 WHM 中配置 EXIM:https://documentation.cpanel.net/display/CKB/How+to+Configure+Exim%27s+Outgoing+IP+Address
根据一些谷歌搜索,答案是将主机名设置为 rDNS(我这样做了),但由于某种原因,它仍然看到 IP。
我忽略了什么?
PS 标题和邮件测试报告中的 rDNS 仍需要刷新为正确的 rDNS(charlotte.studiomod.us)。但即使刷新为正确的 rDNS,我仍然会收到相同的错误。
电子邮件标题显示的内容如下:
Received: by mail-tester.com (Postfix, from userid 500) id 06909A8A7E;
Tue, 22 Dec 2015 21:44:46 +0100 (CET)
Authentication-Results: mail-tester.com; dkim=pass reason="2048-bit key;
unprotected key" header.d=adamkramer.nl [email protected]
header.b=brI/kj1q; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail-tester.com
X-Spam-Level: *
X-Spam-Status: No/1.8/5.0
X-Spam-Test-Scores: DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,
FSL_HELO_BARE_IP_2=1,RCVD_NUMERIC_HELO=0.865,SPF_PASS=-0.001
X-Spam-Last-External-IP: 149.210.247.192
X-Spam-Last-External-HELO: charlotte.studiomod.us
X-Spam-Last-External-rDNS: studiomod.us
X-Spam-Date-of-Scan: Tue, 22 Dec 2015 21:44:46 +0100
X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * 0.9
RCVD_NUMERIC_HELO Received: contains an IP address used for HELO * 0.1
DKIM_SIGNED Message has a DKIM or DK signature, not necessarily *
valid * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
author's * domain * -0.1 DKIM_VALID Message has at least one valid
DKIM or DK signature * 1.0 FSL_HELO_BARE_IP_2 No description available.
Received-SPF: Pass (sender SPF authorized) identity=mailfrom;
client-ip=149.210.247.192; helo=charlotte.studiomod.us;
[email protected]; [email protected]
Authentication-Results: mail-tester.com; dmarc=none
header.from=adamkramer.nl
Received: from charlotte.studiomod.us (studiomod.us [149.210.247.192])
by mail-tester.com (Postfix) with ESMTPS id C68D7A6B05
for <[email protected]>; Tue, 22 Dec 2015 21:44:44 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=adamkramer.nl; s=default; h=Message-ID:Subject:To:From:Date:
Content-Transfer-Encoding:Content-Type:MIME-Version;
bh=sppGM44qRiT1lp/+/J/v0fXBV/FUiCZW3eSPSLRfKZ0=;
b=brI/kj1qmqbYsbC6FyBpERQHyf
/6DPq0KZ9zfVNSHJdZ4O66aUTdFGrWKLlLsOWTXWJVc7iDX78cLJHMvkE0jqUKfQINKJGMm2K4r
3Q
OP3aKPoNuLppE1rd4HW80KLUBgS0rQtTg4lzcf1kyPpZoZMGMXlKyNBMoiq5Ifqfw6kbMoLM5F2
sS
jEnHrjQhLgVaPm3Ujei+jrhnmD8Ey0KWZT5AxrLBf5MvLKQxaaioOx+bewm8Lu/CcqvkBLUxmYI
/m
V0BRGmEN4I6o5P+CJg7AjtugsnzNlBxqs8Xs8X/hmCtXKSo1pjptn0DTczSVAgzmExCKYI89S9a
D5 5R+ZVFmw==;
Received: from [::1] (port=41793 helo=149.210.247.192)
by charlotte.studiomod.us
with esmtpa (Exim 4.86) (envelope-from <[email protected]>)
id 1aBTnj-0004ke-2M for [email protected];
Tue, 22 Dec 2015 21:44:55 +0100
MIME-Version: 1.0
Date: Tue, 22 Dec 2015 21:44:54 +0100
From: Adam Kramer <[email protected]>
To: [email protected]
Subject: Testing my email
Message-ID: <[email protected]>
X-Sender: [email protected]
User-Agent: Roundcube Webmail/1.0.6
X-AntiAbuse: This header was added to track abuse, please include it with
any abuse report
X-AntiAbuse: Primary Hostname - charlotte.studiomod.us
X-AntiAbuse: Original Domain - mail-tester.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - adamkramer.nl
X-Get-Message-Sender-Via: charlotte.studiomod.us: authenticated_id:
[email protected]
X-Authenticated-Sender: charlotte.studiomod.us: [email protected]
Return-Path: [email protected]
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit
Testing this to see if it works
答案1
带有数字 HELO 的 Received 标头不是 Exim 提供的 HELO。Exim 正在发送charlotte.studiomod.us
。
所投诉的 HELO 是您用来发送邮件的程序提供的:roundcube。
仅从您的邮件中选择Received
标题可以更容易地看到:第一行是 mail-tester 内部的,第二行是 mail-tester 表示它收到了来自 charlotte 的邮件(格式为 HELO(rDNS [IP]),第三行是 charlotte 表示它收到了来自 roundcube 的邮件,最后一行是唯一一行表示 helo 是 IP 地址的。
Received: by mail-tester.com (Postfix, from userid 500) id 06909A8A7E;
Tue, 22 Dec 2015 21:44:46 +0100 (CET)
Received: from charlotte.studiomod.us (studiomod.us [149.210.247.192])
by mail-tester.com (Postfix) with ESMTPS id C68D7A6B05
for <[email protected]>; Tue, 22 Dec 2015 21:44:44 +0100 (CET)
Received: from [::1] (port=41793 helo=149.210.247.192)
by charlotte.studiomod.us
with esmtpa (Exim 4.86) (envelope-from <[email protected]>)
id 1aBTnj-0004ke-2M for [email protected];
Tue, 22 Dec 2015 21:44:55 +0100