I am running into a problem while sending out emails from the system and the problem is that the email gets delivered to the spam box in gmail/yahoo/hotmail. I am posting here, after doing my bit of homework, and have already validated and checked the SPF settings, Reverse DNS settings(was pointing elsewhere, and made the change this morning about 5 hours ago). The RDNS check now says the mapping is perfect. Yet no luck. Mails are going to spambox. What could be the problem?
我在从系统发送电子邮件时遇到了一个问题,问题是电子邮件被发送到gmail/yahoo/hotmail中的垃圾邮件箱。在完成我的作业之后,我在这里发布,并且已经验证并检查了SPF设置,反向DNS设置(指向其他地方,并在5小时前完成了更改)。RDNS检查现在说映射是完美的。但是没有运气。邮件将被发送到垃圾邮箱。有什么问题呢?
Background : I use PHP with PHPMailer to send out emails.
背景:我使用PHP和PHPMailer发送电子邮件。
The header from the mail received in the spam box :
垃圾邮件箱收到的邮件头:
Delivered-To: ajithsubramanian@gmail.com
Received: by 10.227.144.12 with SMTP id x12cs63931wbu;
Mon, 9 May 2011 17:05:44 -0700 (PDT)
Received: by 10.68.64.225 with SMTP id r1mr11349194pbs.250.1304985942785;
Mon, 09 May 2011 17:05:42 -0700 (PDT)
Return-Path: <info@xpal.com>
Received: from xpal.com (208.78.241.38.svwh.net [208.78.241.38])
by mx.google.com with ESMTPS id w1si21200467pbh.199.2011.05.09.17.05.40
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 09 May 2011 17:05:41 -0700 (PDT)
Received-SPF: pass (google.com: domain of info@xpal.com designates 208.78.241.38 as permitted sender) client-ip=208.78.241.38;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of info@xpal.com designates 208.78.241.38 as permitted sender) smtp.mail=info@xpal.com
Received: by xpal.com (Postfix, from userid 33)
id F31C12C30BA; Mon, 9 May 2011 17:05:29 -0700 (PDT)
To: Ajith Ravi <ajithsubramanian@gmail.com>
Subject: checkarun replied on your xpalling on Sindura
X-PHP-Originating-Script: 0:phpmailer_class.php
Date: Mon, 9 May 2011 17:05:29 -0700
From: XPal Members Alert <info@xpal.com>
Reply-to: Xpal Members Alert <info@xpal.com>
Message-ID: <e773974b10a1d7a0e54d55f489427da1@xpal.com>
X-Priority: 3
X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_e773974b10a1d7a0e54d55f489427da1"
2 个解决方案
#1
1
This is because when you send a mail with the PHP mail()
function, if you are using a shared host, it will appear in your Received
header. One way is to change your headers that you are sending. This article and this article give a good way to bypass spam filters by changing headers.
这是因为当您发送带有PHP mail()函数的邮件时,如果您使用的是共享主机,它将出现在您的接收头中。一种方法是更改正在发送的头文件。本文和本文提供了一种通过更改标题绕过垃圾邮件过滤器的好方法。
For best practices, you should investigate using the Sender Policy Framework (SPF) to avoid being regarded as spam.
对于最佳实践,您应该研究如何使用Sender策略框架(SPF)来避免被视为垃圾邮件。
You might also be interested in sendmail
, which connects to another email account (say, a Gmail account) and sends mail from that account, not from your local server.
您可能还对sendmail感兴趣,它连接到另一个电子邮件帐户(比如Gmail帐户),并从该帐户发送邮件,而不是从您的本地服务器。
#2
0
Try a search or check related. Most notably, most all is answered here.
尝试一下相关的搜索或检查。最值得注意的是,大多数都在这里回答。
#1
1
This is because when you send a mail with the PHP mail()
function, if you are using a shared host, it will appear in your Received
header. One way is to change your headers that you are sending. This article and this article give a good way to bypass spam filters by changing headers.
这是因为当您发送带有PHP mail()函数的邮件时,如果您使用的是共享主机,它将出现在您的接收头中。一种方法是更改正在发送的头文件。本文和本文提供了一种通过更改标题绕过垃圾邮件过滤器的好方法。
For best practices, you should investigate using the Sender Policy Framework (SPF) to avoid being regarded as spam.
对于最佳实践,您应该研究如何使用Sender策略框架(SPF)来避免被视为垃圾邮件。
You might also be interested in sendmail
, which connects to another email account (say, a Gmail account) and sends mail from that account, not from your local server.
您可能还对sendmail感兴趣,它连接到另一个电子邮件帐户(比如Gmail帐户),并从该帐户发送邮件,而不是从您的本地服务器。
#2
0
Try a search or check related. Most notably, most all is answered here.
尝试一下相关的搜索或检查。最值得注意的是,大多数都在这里回答。