简体   繁体   English

Gmail和Hotmail标记为垃圾邮件

[英]Gmail and Hotmail marked as spam

First of all, I want to thank you for your time. 首先,我要感谢你的时间。 I'm having a hard time getting my head around this problem. 我很难解决这个问题。

With reference to this thread we've dediced to implement PHPMailer. 参考这个线程,我们专门用于实现PHPMailer。 This however worked fine untill we've dediced to change the IP adress of the Exim deamon running on the system. 然而,这很好,直到我们致力于改变在系统上运行的Exim deamon的IP地址。 Now, Hotmail and GMail both mark us as spam although we've got correct rDNS etc. We've also taken part in the Microsoft Sender ID and Junk Email Reporting program, but that still won't help us. 现在,Hotmail和GMail都将我们标记为垃圾邮件,尽管我们有正确的rDNS等。我们也参与了Microsoft Sender ID和垃圾邮件报告程序,但这仍然无法帮助我们。

You can see an output of the php script running here( http://koopte.be/mailtest/test/examples/test.php ). 你可以在这里看到运行php脚本的输出( http://koopte.be/mailtest/test/examples/test.php )。

Also, some mail headers from GMail: 另外,GMail的一些邮件标题:

Delivered-To: myemail@gmail.com Received: by 10.227.133.10 with SMTP id d10cs153720wbt; Delivered-To:myemail@gmail.com收到:10.227.133.10,SMTP id为d10cs153720wbt; Sun, 17 Oct 2010 02:44:10 -0700 (PDT) Received: by 10.227.37.8 with SMTP id v8mr3118896wbd.37.1287308647612; Sun,2010年10月17日02:44:10 -0700(PDT)收到:10.227.37.8,SMTP id为v8mr3118896wbd.37.1287308647612; Sun, 17 Oct 2010 02:44:07 -0700 (PDT) Return-Path: Received: from drt01.dco.fusa.be ([81.95.119.6]) by mx.google.com with ESMTP id ep1si12575868wbb.6.2010.10.17.02.44.06; 太阳,2010年10月17日02:44:07 -0700(PDT)回程路径:收到:来自drt01.dco.fusa.be([81.95.119.6]),来自mx.google.com,ESMTP为id ep1si12575868wbb.6.2010.10.17 .02.44.06; Sun, 17 Oct 2010 02:44:07 -0700 (PDT) Received-SPF: neutral (google.com: 81.95.119.6 is neither permitted nor denied by best guess record for domain of admin@drt01.dco.fusa.be) client-ip=81.95.119.6; Sun,2010年10月17日02:44:07 -0700(PDT)收到-SPF:中立(对于域名admin@drt01.dco.fusa.be,最佳猜测记录既不允许也不拒绝google.com:81.95.119.6)客户IP = 81.95.119.6; Authentication-Results: mx.google.com; 身份验证 - 结果:mx.google.com; spf=neutral (google.com: 81.95.119.6 is neither permitted nor denied by best guess record for domain of admin@drt01.dco.fusa.be) smtp.mail=admin@drt01.dco.fusa.be Received: from admin by drt01.dco.fusa.be with local (Exim 4.69) (envelope-from ) id 1P7Pmg-0001qb-Gg for myemail@gmail.com; spf =中性(对于域名admin@drt01.dco.fusa.be,最佳猜测记录既不允许也不拒绝google.com:81.95.119.6)smtp.mail=admin@drt01.dco.fusa.be收到:来自admin来自drt01.dco.fusa.be的本地(Exim 4.69)(信封来自)id 1P7Pmg-0001qb-Gg for myemail@gmail.com; Sun, 17 Oct 2010 11:44:06 +0200 To: Subject: Koopte.be X-PHP-Script: www.koopte.be/mailtest/test/examples/test_smtp_advanced_no_auth.php for 84.31.105.128 Date: Sun, 17 Oct 2010 11:44:06 +0200 From: "Koopte.be" Reply-to: "Koopte.be" Message-ID: X-Priority: 3 X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net) MIME-Version: 1.0 Content-Type: multipart/alternative; Sun,2010年10月17日11:44:06 +0200 To:主题:Koopte.be X-PHP-Script:www.koopte.be/mailtest/test/examples/test_smtp_advanced_no_auth.php for 84.31.105.128 Date:Sun,10月17日2010 11:44:06 +0200来自:“Koopte.be”回复:“Koopte.be”消息ID:X-Priority:3 X-Mailer:PHPMailer 5.1(phpmailer.sourceforge.net)MIME-Version: 1.0内容类型:multipart / alternative; boundary="b1_f102f7049d61084cf6a8ef51cf0e57bc" Sender: boundary =“b1_f102f7049d61084cf6a8ef51cf0e57bc”发件人:

Our log shows the following, which seems OK to me: 我们的日志显示以下内容,对我来说似乎没问题:

2010-10-17 02:33:30 1P7HBn-0000l7-Ro => email F=<admin@drt01.dco.fusa.be> R=lookuphost T=remote_smtp S=1475 H=gmail-smtp-in.l.google.com [209.85.227.27] C="250 2.0.0 OK 1287275610 v32si21774961weq.142"

Thank you for your time! 感谢您的时间!

Edit: rDNS is being fixed as we speak. 编辑:rDNS在我们发言时正在修复。


rDNS is set now, come on guys, what am I missing? rDNS现在定了,来吧伙计们,我错过了什么?

Google reports this in the headers: Google会在标题中报告此事:

Received-SPF: neutral (google.com: 81.95.119.6 is neither permitted nor denied by best guess record for domain of admin@drt01.dco.fusa.be) client-ip=81.95.119.6; 收到SPF:中立(google.com:81.95.119.6既不允许也不被域名admin@drt01.dco.fusa.be的最佳猜测记录拒绝)client-ip = 81.95.119.6;

But my SPF is this: 但我的SPF是这样的:

domainname. 域名。 TXT "v=spf1 a mx ip4:81.95.119.6 ~all" TXT“v = spf1 a mx ip4:81.95.119.6~all”

You should setup an SPF record for your domain. 您应该为您的域设置SPF记录。 Google is only returning neutral on your SPF check. Google只会在您的SPF支票上退回中立。

First, I would suggest using Swiftmailer over PHPMailer. 首先,我建议使用Swiftmailer而不是PHPMailer。 But regardless, your issue isn't what software you are using to send your email. 但无论如何,您的问题不是您用来发送电子邮件的软件。 You should head over to http://mxtoolbox.com/ and see what it says about your email domain. 您应该访问http://mxtoolbox.com/并查看其对您的电子邮件域的说明。 You should have the correct reverse DNS setup, in addition to making sure you have a SPF record setup in your DNS. 除了确保在DNS中设置了SPF记录之外,您还应该拥有正确的反向DNS设置。

It seems your reverse DNS is not setup correctly, at least not for koopte.be. 看来您的反向DNS设置不正确,至少不适用于koopte.be。

It is also possible that if the new IP address has been previously blacklisted by Google or Hotmail or any of the third parties they use (even before it was owned by you), the blacklist is still in effect. 如果新的IP地址之前已被Google或Hotmail或他们使用的任何第三方(甚至在您拥有之前)列入黑名单,那么黑名单仍然有效。

In addition to mxtoolbox.com, I'd also checkout Spamhaus's lookup ( http://www.spamhaus.org/lookup.lasso ). 除了mxtoolbox.com之外,我还会查看Spamhaus的查询( http://www.spamhaus.org/lookup.lasso )。 Many providers use their XBL, PBL, and DBL advisories to maintain a blacklist. 许多提供商使用他们的XBL,PBL和DBL建议来维护黑名单。

您可能想要查看DKMS / DomainKeys(并且Microsoft / Hotmail也有自己的东西,类似但Hotmail不同:P)

Spam issue because of following reasons 垃圾邮件问题原因如下

1)Shared hosting 1)共享主机

If you are using shared hosting, PHP is not the solutions for this issue.try to contact your server providers.Some time your hosted IP treated as spam.Try to change the hosting providers, It may work fine. 如果您使用共享主机,PHP不是此问题的解决方案。请联系您的服务器提供商。有时您的托管IP被视为垃圾邮件。尝试更改主机提供商,它可能正常工作。

2) More Links in your e-mail body 2)您的电子邮件正文中的更多链接

3 )Partial header(Always use reply-to,Ref Ans:TrentonMcManus) 3)部分标题(始终使用回复,参考答案:TrentonMcManus)

4) Bulk E-Mailing 4)批量电子邮件

5) Spam Reporting(number of people who have clicked on your link as spam) 5)垃圾邮件报告(点击链接作为垃圾邮件的人数)

6) The message not to be too short or too long. 6)消息不要太短或太长。

7) Sending From Blacklisted IP(hosting, and SMTP server) ) 7)从列入黑名单的IP(托管和SMTP服务器)发送)

It may be new your IP address has been previously blacklisted by Google or Hotmail You can check Blacklisted ip or not from the site from here 您的IP地址之前已被Google或Hotmail列入黑名单可能是新的您可以从此处查看网站上是否列入黑名单的IP

8)Verifying sender IP 8)验证发件人IP

Sender Policy Framework (SPF) is an email validation system designed to prevent email spam by detecting email spoofing, a common vulnerability, by verifying sender IP addresses. 发件人策略框架(SPF)是一种电子邮件验证系统,旨在通过验证发件人IP地址来检测电子邮件欺骗(一种常见漏洞)来防止电子邮件垃圾邮件。

Perhaps PHP not solutions for this. 也许PHP不是解决方案。 You can do Following things in php coding 你可以在PHP编码中做以下事情

1)Always use the from/reply to address 1)始终使用来自/回复地址

2)Add unsubscribe link in body 2)在正文中添加取消订阅链接

3)Avoid spam keywords. 3)避免垃圾邮件关键字。

4)The message not to be too short or too long. 4)消息不要太短或太长。

5)Text version is better than HTML 5)文本版本优于HTML

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 php邮件功能:通过gmail和hotmail标记为垃圾邮件的合法邮件 - php mail function: legitimate mails marked as spam by gmail and hotmail Gmail和Hotmail的PHP垃圾邮件问题 - PHP spam issues with Gmail and Hotmail 分析来自hotmail的电子邮件标题以查找标记为垃圾邮件的邮件 - Analysing email header from hotmail for message marked as spam 邮件gt被gmail标记为垃圾邮件,任何解决方案? - mail gt marked as spam by gmail, any solutions? 通过smtp.gmail.com发送的电子邮件被Gmail标记为垃圾邮件 - Emails sent through smtp.gmail.com marked as spam by Gmail 为什么从我的专用服务器发送的电子邮件在Gmail上标记为SPAM? - Why are emails sent from my dedicated server marked as SPAM on Gmail? Laravel Markdown - 发送到 Gmail 地址的电子邮件被标记为垃圾邮件 - Laravel Markdown - Emails sent to gmail address being marked as spam 由php mail()和smtp单独将gmail标记为垃圾邮件的邮件 - Mail marked as spam by gmail alone by php mail() as well as smtp 为什么我的网站发送的电子邮件使用codeigniter phpmailer在google和hotmail中被标记为垃圾邮件 - Why my email sent by my site is marked as spam in google and hotmail using codeigniter phpmailer 无法将电子邮件发送到hotmail或gmail - Unable to deliver email to hotmail or gmail
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM