我在 CentOS6 上使用 iRedMail 安装了私人电子邮件服务器。当我使用它向我的 Outlook 帐户发送电子邮件时,我在标头中发现“127.0.0.1”,标头如下所示:
<blink>
I have installed a private email server using iRedMail on CentOS6. When I used it to send email to my outlook account, I found '127.0.0.1' in the header, the header show below:
<code>
x-store-info:4r51+eLowCe79NzwdU2kRyU+pBy2R9QCCqBNiBLR/yls0BoNbTHNzodM77HDB36iyk5ZBzqcXCVkFUHscSOlWuYdBLP6fzGxAYcwEDRkN6dTR+oUakT6ZdlWGlcaxL2z1N3tMpU1rVw=
Authentication-Results: hotmail.com; spf=softfail (sender IP is 89.***.***.171; identity alignment result is pass and alignment mode is relaxed) [email protected]; dkim=none (identity alignment result is pass and alignment mode is relaxed) header.d=outlook.com; x-hmca=fail [email protected]
X-SID-PRA: [email protected]
X-AUTH-Result: FAIL
X-SID-Result: FAIL
X-Message-Status: n:n
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtHRD0yO1NDTD02
X-Message-Info: M98loaK0Lo2XMbcPamiQkpO+xJvB2uwbihYH5SYjkZZFRNQTaSCvCUd/itHi/2Z/Dxduhk5lYUNSiDE4GU+PUNbDmxDdLTU3nhQn/J1qti+xpM8d/JBaxDpn8UyWgS/4vcQYd1JbxFh7TawrHhaQ9rkJZJLRRetAff4zhjWfsuawkdewoWwJRZbVVvgzKUypOi8M2ihwn5y+mvzUwn2ld9H/1W7NncBK2+Q59+YmV7KbzWmu//gRBA==
Received: from mail.mydomain.com ([89.***.***.171]) by COL004-MC5F27.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23143);
Thu, 20 Aug 2015 02:20:18 -0700
Received: from mail.mydomain.com (mail.mydomain.com [127.0.0.1])
by mail.mydomain.com (Postfix) with ESMTP id 625EB1C06B7
for <[email protected]>; Thu, 20 Aug 2015 11:20:30 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mail.mydomain.com
Received: from mail.mydomain.com ([127.0.0.1])
by mail.mydomain.com (mail.mydomain.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id m7eG6oP8jkcB for <[email protected]>;
Thu, 20 Aug 2015 11:20:29 +0200 (CEST)
Received: from _ (mail.mydomain.com [127.0.0.1])
by mail.mydomain.com (Postfix) with ESMTPSA id 8E3B81C06A8
for <[email protected]>; Thu, 20 Aug 2015 11:20:29 +0200 (CEST)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 20 Aug 2015 17:20:28 +0800
From: myname <[email protected]>
To: [email protected]
Subject: Server Error
Message-ID: <[email protected]>
X-Sender: [email protected]
User-Agent: Roundcube Webmail
Return-Path: [email protected]
X-OriginalArrivalTime: 20 Aug 2015 09:20:18.0415 (UTC) FILETIME=[6E48C7F0:01D0DB29]
</code>
Hello,
My email server has an error.
</blink>
有人可以帮助我吗?
答案1
网络邮件 - 127.0.0.1:25
您的roundcube
网络邮件通过 smtp 连接将消息提交到127.0.0.1:25
.您的网络邮件可以直接执行sendmail
命令(由 postfix 提供)来避免127.0.0.1
在此标头中出现。
Received: from _ (mail.mydomain.com [127.0.0.1])
by mail.mydomain.com (Postfix) with ESMTPSA id 8E3B81C06A8
for <[email protected]>; Thu, 20 Aug 2015 11:20:29 +0200 (CEST)
...
User-Agent: Roundcube Webmail
反垃圾邮件“三明治”
您的 SMTP/MTA/postfix 服务器通过 SMTP 将邮件传递到 amavis(反垃圾邮件)并通过 smtp 接收返回。您可以使用 milter(amavisd milter 或 MIMEDefang milter)以另一种方式将 spamassassin 与 postfix/sendmail 集成。
Received: from mail.mydomain.com (mail.mydomain.com [127.0.0.1])
by mail.mydomain.com (Postfix) with ESMTP id 625EB1C06B7
for <[email protected]>; Thu, 20 Aug 2015 11:20:30 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mail.mydomain.com
Received: from mail.mydomain.com ([127.0.0.1])
by mail.mydomain.com (mail.mydomain.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id m7eG6oP8jkcB for <[email protected]>;
Thu, 20 Aug 2015 11:20:29 +0200 (CEST)