2015-05-08 61 views
0

使用的PHPMailer与SMTP垃圾邮件的指标,下面的电子邮件是从我的VPS发送(mydomain.com由phpwebhosting托管),就好像它来自我的康卡斯特帐户([email protected])我Gmail电子邮件([email protected])和Gmail将其标记为垃圾邮件。在电子邮件标题确定基于电子邮件标题

来看,我怎么能确定什么可能使一个电子邮件客户端标记的电子邮件为垃圾邮件?

Delivered-To: jane.doe 
Received: by 10.28.7.197 with SMTP id 188csp518471wmh; 
     Fri, 8 May 2015 06:51:39 -0700 (PDT) 
X-Received: by 10.43.17.135 with SMTP id qc7mr4244827icb.14.1431093098853; 
     Fri, 08 May 2015 06:51:38 -0700 (PDT) 
Return-Path: <[email protected]> 
Received: from smtp1.phpwebhosting.com (smtp1.phpwebhosting.com. [145.242.148.75]) 
     by mx.google.com with SMTP id ag10si4096698icc.25.2015.05.08.06.51.38 
     for <jane.doe>; 
     Fri, 08 May 2015 06:51:38 -0700 (PDT) 
Received-SPF: neutral (google.com: 145.242.148.75 is neither permitted nor denied by domain of [email protected]) client-ip=145.242.148.75; 
Authentication-Results: mx.google.com; 
     spf=neutral (google.com: 145.242.148.75 is neither permitted nor denied by domain of [email protected]) [email protected]; 
     dmarc=fail (p=NONE dis=NONE) header.from=comcast.net 
Received: (qmail 29774 invoked from network); 8 May 2015 13:51:37 -0000 
Received: from unknown (HELO test.sites.mydomain.com) ([email protected]@145.242.134.91) 
    by smtp1.phpwebhosting.com with (DHE-RSA-AES256-SHA encrypted) SMTP; Fri, 08 May 2015 09:51:37 -0400 
Date: Fri, 8 May 2015 06:51:36 -0700 
To: Jane Doe <jane.doe> 
From: John Doe <[email protected]> 
Reply-To: [email protected] 
Subject: Mydomain Password for Test Site 
Message-ID: <[email protected]> 
X-Priority: 3 
X-Mailer: PHPMailer 5.2.9 (https://github.com/PHPMailer/PHPMailer/) 
MIME-Version: 1.0 
Content-Type: multipart/alternative; 
    boundary="b1_fa1b444df47091d2ca100f40d93b14cc" 
Content-Transfer-Encoding: 8bit 

--b1_fa1b444df47091d2ca100f40d93b14cc 
Content-Type: text/plain; charset=us-ascii 

Hello Jane, 

I have added you to our Mydomain sales tracking and bid solicitation tool. 

Your username is: jane.doe. 
Click the following link within 24 hours to set your password: https://test.sites.mydomain.com/index.php?cid=25&task=display_p&t=28dba87d5fb8062e40a69f0192660471 

Thank you 


--b1_fa1b444df47091d2ca100f40d93b14cc 
Content-Type: text/html; charset=us-ascii 

<p>Hello Alvin,</p> 

<p>I have added you to our Mydomain sales tracking and bid solicitation tool.</p> 

<p>Your username is: jane.doe.</p> 
<p>Click the following link within 24 hours to set your password: <a href="https://test.sites.mydomain.com/index.php?cid=25&amp;task=display_p&amp;t=28dba87d5fb8062e40a69f0192660471">https://test.sites.mydomain.com/index.php?cid=25&amp;task=display_p&amp;t=28dba87d5fb8062e40a69f0192660471</a></p> 

<p>Thank you</p> 



--b1_fa1b444df47091d2ca100f40d93b14cc-- 

回答

1

无法确定Gmail为什么会将电子邮件标记为垃圾邮件。从发件人的角度来看,垃圾邮件过滤器通常都是黑匣子,因为只有知道内部工作原理并可以访问日志的人员才能确定某些电子邮件发生了什么情况。该检举原因可能是几乎任何东西,比如违反了发件人域的政策,穷人IP信誉,使用环节的声誉不佳,相似垃圾邮件,不良符合标准等。有时候也没有特别的理由。

这并不是说你不能让一个受过教育的猜测。在这种特殊情况下,您以comcast.net用户的名义发送电子邮件,但您完全绕过了Comcast服务器。康卡斯特在地方有SPF和DMARC政策,虽然Comcast的SPF政策评价不主张smtp1.phpwebhosting.com允许或没有(SPF“中性”的结果),在DMARC结果,Gmail的越来越是“失败”。 Comcast的DMARC政策不是标记未通过电子邮件认证的电子邮件(但仅报告它们),但我仍然认为这是一个不好的预兆。尝试通过授权康卡斯特服务器发送电子邮件或使用自己的域名都From:Return-Path,看看是否能避免被标记为垃圾邮件。