为什么我的服务器发送的邮件标记为垃圾邮件? [英] Why are emails sent by my server marked as SPAM?

查看:324
本文介绍了为什么我的服务器发送的邮件标记为垃圾邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站全部用PHP编写,都有自动系统通过电子邮件通知用户。一切工作都很好,直到我把所有东西都移植到一个新的廉价的专用服务器上(也就是新的IP)。现在,从新的服务器,所有的电子邮件都被发送到垃圾邮件文件夹。为什么?发生了什么? Gmail表示它被标记为垃圾邮件,因为它违反了这些指南 关于发件人。以下是其中一个电子邮件的消息标题

My website, all written in PHP, has an automatic system to notify users via email. Everything worked perfectly until i moved everything on a new less expensive dedicated server (new IP, also). Now, from the new server, all the emails are sent to the spam folder. Why? What happened? Gmail says it's marked as spam because it violates these guidelines about the sender. Here is the message header of one of the emails

Delivered-To: fontanavideostudios@gmail.com
Received: by 10.64.224.200 with SMTP id re8csp1701580iec;
        Sun, 1 Feb 2015 07:30:19 -0800 (PST)
X-Received: by 10.140.22.5 with SMTP id 5mr1380826qgm.72.1422804619177;
        Sun, 01 Feb 2015 07:30:19 -0800 (PST)
Return-Path: <noreply@racebooking.net>
Received: from ns362512.ip-91-121-174.eu ([2001:41d0:1:ef28::1])
        by mx.google.com with ESMTP id e3si21772874qaf.113.2015.02.01.07.30.18
        for <fontanavideostudios@gmail.com>;
        Sun, 01 Feb 2015 07:30:19 -0800 (PST)
Received-SPF: none (google.com: noreply@racebooking.net does not designate permitted sender hosts) client-ip=2001:41d0:1:ef28::1;
Authentication-Results: mx.google.com;
       spf=none (google.com: noreply@racebooking.net does not designate permitted sender hosts) smtp.mail=noreply@racebooking.net
Received: by ns362512.ip-91-121-174.eu (Postfix, from userid 504)
    id DFE0916074; Sun,  1 Feb 2015 16:28:52 +0100 (CET)
To: fontanavideostudios@gmail.com
Subject: Qualcuno ha commentato il tuo post
X-PHP-Originating-Script: 504:new_notification.php
From: Racebooking <noreply@racebooking.net>
Reply-To: no-reply
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Message-Id: <20150201152852.DFE0916074@ns362512.ip-91-121-174.eu>
Date: Sun,  1 Feb 2015 16:28:52 +0100 (CET)

这个域名,rmajing.net,有一个良好的信誉和MX,邮件,smtp指向相同的ip:91.121.174.40这是相同的IP的rhisting.net(这里是一个测试

The domain, racebooking.net, has a good reputation and MX, mail, smtp point to the same ip: 91.121.174.40 which is the same IP of racebooking.net (here is a test)

任何想法? p>

Any idea?

推荐答案

在标题中检查这一行:

Received-SPF: none (google.com: noreply@racebooking.net does not designate permitted sender hosts) client-ip=2001:41d0:1:ef28::1;
Authentication-Results: mx.google.com;
       spf=none (google.com: noreply@racebooking.net does not designate permitted sender hosts) smtp.mail=noreply@racebooking.net

我想你还没有正确配置您的DNS中的SPF条目。

I think you have not correctly configured the SPF entries in your DNS.

请看这个Google产品线程: a href =https://productforums.google.com/forum/#!topic/apps/nvGcYDjONfc =nofollow> https://productforums.google.com/forum/#!topic/apps/nvGcYDjONfc

See this Google Products thread about this: https://productforums.google.com/forum/#!topic/apps/nvGcYDjONfc

我可以看到您没有为rhisting.net定义SPF条目:

I can see that you have no SPF entries defined for "racebooking.net":

$ dig +short racebooking.net txt
"1|www.racebooking.net"

您需要定义一个SPF条目,如:

You need to define an SPF entry like:

"v=spf1 mx a:mail0.racebooking.net -all"

您还需要包含可能发送的任何其他主机电子邮件(即Web应用程序发送电子邮件从@ rhisting.net)。

You also need to include any other host from which you might be sending email (ie web applications sending email from @racebooking.net).

更多关于SPF的信息: http://en.wikipedia.org/wiki/Sender_Policy_Framework

More info about what SPF is: http://en.wikipedia.org/wiki/Sender_Policy_Framework

这篇关于为什么我的服务器发送的邮件标记为垃圾邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆