SPF DKIM PTR似乎很好,但仍被标记为垃圾邮件

时间:2016-04-19 23:15:39

标签: php email gmail spf dkim

TL; DR SPF广告DKIM通过,PRT记录完整,没有列入黑名单的ip,不是垃圾邮件,但他们仍然会发送垃圾邮件。

Gmail(以及大多数其他邮件主机)将我的邮件标记为垃圾邮件。他们不是垃圾邮件,他们会购买收据,即将上课的提醒以及感谢您参加课程。所有这些都是从我的定制数据库驱动系统发送的,它查找即将到来的类,并从数据库中提取消息和电子邮件地址(和名字)并发送消息。

它已经工作了几年,但几个月前我注意到客户开始抱怨他们没有收到他们预期的邮件。现在,没有Gmail用户收到我的邮件到其收件箱。大多数其他服务器也标记为垃圾邮件。

所以我注册了一个VPS,以摆脱可能的坏服务器邻居。我在SPF和DKIM上读了很多,并且相信我已经正确设置了它们。 PTR似乎解决了正确的域名。

电子邮件根本不是垃圾邮件,没有内容更改有任何影响(包括非常简单的纯文本邮件)。它们目前是带有一些链接图像的HTML,包括一个开放跟踪像素(src of spacer.phpid = 12345)。它们包括一个unsub链接。我还认为我确实遵循了Google发送邮件的指导原则。 HTML链接非常少,大多数都是由Gmail链接的简单文字。

我很乐意提供您需要的任何可能有用的信息,但可能需要告知如何提供,即我将在何处为您提供。我不是一个总的菜鸟,但我是VPS的新手。

个人详细信息(域名,电子邮件地址和IP)已被混淆,但会将原始标题发送给可以提供帮助的任何人。链接地址也已被破坏(有意更改example.com)。

通过cPanel启用DMIK 主机设置的SPF记录是

v=spf1 +a +mx +ip4:123.456.7.20 +ip4:123.456.7.207 -all

这里是来自垃圾邮件文件夹中收到的邮件的原始邮件标题

Delivered-To: sentotaddress@gmail.com
Received: by 10.36.120.193 with SMTP id p184csp1956256itc;
        Tue, 19 Apr 2016 11:25:11 -0700 (PDT)
X-Received: by 10.50.167.2 with SMTP id zk2mr5499232igb.2.1461090311026;
        Tue, 19 Apr 2016 11:25:11 -0700 (PDT)
Return-Path: <info@example.com>
Received: from vps.example.com (vps.example.com. [123.456.7.20])
        by mx.google.com with ESMTPS id lo2si6108912igb.89.2016.04.19.11.25.10
        for <sentotaddress@gmail.com>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 19 Apr 2016 11:25:10 -0700 (PDT)
Received-SPF: pass (google.com: domain of info@example.com designates 123.456.7.20 as permitted sender) client-ip=123.456.7.20;
Authentication-Results: mx.google.com;
       dkim=pass header.i=@example.com;
       spf=pass (google.com: domain of info@example.com designates 123.456.7.20 as permitted sender) smtp.mailfrom=info@example.com
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
    d=example.com; s=default; h=Content-Transfer-Encoding:
    Content-Type:MIME-Version:Message-ID:Reply-To:From:Date:Subject:To;
    bh=l630T1O7H48Yzm8wbX3YlSOHH9n09reeSZJ7fdMuFOs=; b=vfiNWlzAJpR4W9n4FJoelK5Oqy
    vcpUoHMF2vZ4DWRuzYsMzV7MCA2kUhdf8Bd81oJf6+AiOpsGNFNT9dzhbOUwc1ytTc1LdiYtiTY2M
    +fvaCp5N+/QgUbmhDc5godo0godZaPxZ2qUztGBEdQTc7j9zBkdTJey8/UX/mtTMQjr6uTyb/5k3T
    wG3ZCK+P+RM9ZxG8Z2e41bHEqm/Rag8mFQp3t558ZZgOvrUzjl+gQ8Dzs0vPQWqimFeUt2q1BcxQ8
    AKCd15+2zWOCfxEPuymclTTQcn3+ZZj5VRRVMSpECRwXe4nz0kleX4G4T4CMqzpSe4av7MC6MGhuO
    +0qhiGAA==;
Received: from hostaccountname by vps.example.com with local (Exim 4.86_1)
    (envelope-from <info@example.com>)
    id 1asaKc-0002YD-NS
    for sentotaddress@gmail.com; Tue, 19 Apr 2016 12:25:02 -0600
To: sentotaddress@gmail.com
Subject: Test 409
X-PHP-Script: example.com/cron_mass_mailer.php for 123.456.7.207
Date: Tue, 19 Apr 2016 12:25:02 -0600
From: Simon lastname <info@example.com>
Reply-To: Simon lastname <info@example.com>
Message-ID: <dcdd902d9d1e0ff42ee195a8e17b2562@example.com>
X-Mailer: PHPMailer 5.2.14 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: multipart/alternative;
    boundary="b1_dcdd902d9d1e0ff42ee195a8e17b2562"
Content-Transfer-Encoding: 8bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - vps.example.com
X-AntiAbuse: Original Domain - gmail.com
X-AntiAbuse: Originator/Caller UID/GID - [501 512] / [47 12]
X-AntiAbuse: Sender Address Domain - example.com
X-Get-Message-Sender-Via: vps.example.com: authenticated_id: hostaccountname/from_h
X-Authenticated-Sender: vps.example.com: info@example.com

This is a multi-part message in MIME format.

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

14 address, city, sa 12345


Hi Simon,

Great to see you last night, I always enjoy catching up with you guys. And thanks for letting me test this out. I hope it makes it into your inbox!

If it doesn't, could copy and paste and results from any spam filter, or headers, to see if there's any clues to see where the issues are.

Thanks!
Me



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Me
Tel/SMS: (123) 123-1231
https://example.com




Connect online
Unsubscribe from newsletter here https://example.com/unsubscribe


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


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
</head>
<body style="font:12px Arial, Helvetica, sans-serif;">
<table style="width:580px;">
    <tr>
        <td>
            <p style="text-align:center;font-size:18px;padding-bottom:12px;margin-bottom:18px;border-bottom:1px solid #cccccc;"><img src="https://example.com/images/htmlemail/logo120.png" alt="Logo png" align="center" style="margin:auto;width:100px;"><br><br/><span style="text-align:center;font-size:12px;">007 The St. Colo Spgs, CO 80903</span></p>


<p>Hi Simon,<br />
<br />
Great to see you last night, I always enjoy catching up with you guys. And thanks for letting me test this out. I hope it makes it into your inbox!<br />
<br />
If it doesn't, could copy and paste and results from any spam filter, or headers, to see if there's any clues to see where the issues are.<br />
<br />
Thanks!<br />
Me<br />
<br />
<br/><img src="https://example.com/images/htmlemail/spacer.php?spacer=13654"></p>
            <p  style="font-size:12px;">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br/>
Me<br/>
Tel/SMS: (123) 123-1231<br/>
https://example.com<br/>
<br/>

<a href="https://twitter.com/mytwitter"><img src="https://example.com/images/htmlemail/twitter25.png" alt="Follow me on Twitter" style="margin:0 10px 0 0;"></a>
<a href="https://www.facebook.com/mydomain"><img src="https://example.com/images/htmlemail/facebook25.png" alt="Like us on Facebook" style="margin:0 10px 0 0;"></a>
<br/>Connect online</p>
<p style="font-size:11px;">Unsubscribe from newsletter here https://example.com/unsubscribe</p>
        </td>
    </td>
</table>
</body>
</html>



--b1_dcdd902d9d1e0ff42ee195a8e17b2562--

0 个答案:

没有答案