发送带有postfix的电子邮件时,标题中有多个“已收到:来自”

时间:2016-07-17 10:15:18

标签: gmail postfix-mta email-spam

我在服务器上配置了postfix。问题是我的电子邮件是在gmail的垃圾邮件文件夹中。以下是使用标题完成邮件的链接(从gmail“show original”选项获取,包含收件人电子邮件地址,主机名和邮件内容等编辑内容):

Received: by 10.176.65.100 with SMTP id j91csp564258uad;
        Sun, 17 Jul 2016 02:42:13 -0700 (PDT)
X-Received: by 10.98.157.12 with SMTP id i12mr36676711pfd.164.1468748533226;
        Sun, 17 Jul 2016 02:42:13 -0700 (PDT)
Return-Path: <service@mydomain.co>
Received: from mydomain.co ([139.59.16.224])
        by mx.google.com with ESMTPS id c132si1739901pfc.233.2016.07.17.02.42.12
        for <recipientemail@gmail.com>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 17 Jul 2016 02:42:12 -0700 (PDT)
Received-SPF: pass (google.com: domain of service@mydomain.co designates 139.59.16.224 as permitted sender) client-ip=139.59.16.224;
Authentication-Results: mx.google.com;
       dkim=pass header.i=@mydomain.co;
       spf=pass (google.com: domain of service@mydomain.co designates 139.59.16.224 as permitted sender) smtp.mailfrom=service@mydomain.co
Received: from [127.0.1.1] (localhost [127.0.0.1])
    by mydomain.co (Postfix) with ESMTP id 50060142D51
    for <recipientemail@gmail.com>; Sun, 17 Jul 2016 05:42:10 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mydomain.co; s=mail;
    t=1468748530; bh=WctOxI13mNA4A7VXZBnp5dQPWeaTuXW+cDu+gpgm5gc=;
    h=Subject:From:To:Date:From;
    b=OqCqWn15sn5Ap0voyrq50bASfykTiuIR6dR8fOZZfo9okNV2928rYnYgypzi9Zzm1
     JC4b86B6pV7Vk5hCDnMPNUeEZGaBY/bShUzckh4xCqaHZx9tHA/pEGGryd70GlvB2z
     XmnA2T3Z+1vWcWfOcJmTTdHY9tCrbqEBXaP3B1iU=
Content-Type: multipart/alternative;
 boundary="===============3201548845801807681=="
MIME-Version: 1.0
Subject: Mydomain Help Service
From: service@mydomain.co
To: recipientemail@gmail.com
Message-Id: <20160717094210.50060142D51@mydomain.co>
Date: Sun, 17 Jul 2016 05:42:10 -0400 (EDT)

--===============3201548845801807681==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

MESSAGE CONTENT

--===============3201548845801807681==
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

MESSAGE CONTENT

--===============3201548845801807681==--

我怀疑(没有充分的理由)这是因为两个不同的“收到来自:”条目。

Received: from mydomain.co ([139.59.16.224])
Received: from [127.0.1.1] (localhost [127.0.0.1])

我不明白为什么会出现两个不同的条目。我正在使用python smtplib库发送邮件。我看到与我在我的Gmail帐户上收到的其他电子邮件相对应的标题,并且没有一个在“已收到:来自”中有本地主机。我该如何解决这个问题?

您是否看到其他原因导致邮件进入垃圾邮件?我尝试使用不同的邮件内容发送到多个Gmail地址。

任何帮助都会非常感激。

0 个答案:

没有答案