电子邮件标头中显示的主机名

电子邮件标头中显示的主机名

我使用 Postfix 作为 SMTP 服务器,并且我不希望我的服务器主机名出现在电子邮件标头中,我应该做哪些更改?

正如您在下面的代码中看到的,这是主机名:server1.example.com

以下是完整标题:

Received: from server1.example.com (example.com [My Ip(111.11.111.11)])
Delivered-To: [email protected]
Received: by 10.150.95.9 with SMTP id s9cs39975ybb;
        Tue, 12 Oct 2010 10:04:11 -0700 (PDT)
Received: by 10.142.128.14 with SMTP id a14mr6566111wfd.384.1286903051027;
        Tue, 12 Oct 2010 10:04:11 -0700 (PDT)
Return-Path: <[email protected]>
Received: from server1.example.com (example.com [My Ip(111.11.111.11)])
        by mx.google.com with ESMTP id y15si19129610wfd.52.2010.10.12.10.04.10;
        Tue, 12 Oct 2010 10:04:11 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates 111.11.111.11 as permitted sender) client-ip=111.11.111.11;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of [email protected] designates 111.11.111.11 as permitted sender) [email protected]
Received: by server1.example.com (Postfix, from userid 2523)
 id D33A612980A1; Tue, 12 Oct 2010 17:04:09 +0000 (UTC)
subject: Hello
Message-Id: <[email protected]>
Date: Tue, 12 Oct 2010 10:03:49 -0700 (PDT)
From: [email protected]
To: undisclosed-recipients:;

答案1

您可以更改 helo_name 设置,但正如 DandyPandy 所指出的,接收 SMTP 服务器仍会反向查找您的 MTA 的 IP 地址并记录下来。

http://www.manpagez.com/man/5/postconf/

答案2

您对此无能为力。您所能做的就是配置您的服务器以宣传另一个名称。有时,请使用白标域名,这些域名不会明确表明它们来自谁。但这是标准,并且标头的这一部分是由接收服务器 (gmail) 放置在那里的。

相关内容