所有邮件都去了垃圾邮件SPAM(sendmail on centos)127.0.0.1问题?

前端之家收集整理的这篇文章主要介绍了所有邮件都去了垃圾邮件SPAM(sendmail on centos)127.0.0.1问题?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
SPF CHECK http://www.openspf.org/Why更新:

SPF检查为我提供了这样的信息:启用SPF的邮件服务器拒绝了声明信封发件人地址为support@ourdomain.com的邮件.启用S​​PF的邮件服务器收到来自ourdomain.com(x.x.x.X)的邮件,该邮件声明信封发件人地址为support@ourdomain.com.域名ourdomain.com已授权ourdomain.com(x.x.x.x)代表其发送邮件,因此该邮件应已被接受.我们不可能说出它被拒绝的原因

更新:我正在使用Google Apps从中发送电子邮件和接收电子邮件.也许这有助于研究我们的问题.我们只有用于设置Gmail的MX记录,现在认为这可能是个问题吗?如果邮件服务器收到来自www.ourdomain.com的电子邮件但无法找到该IP的MX记录,那可能是坏的或不是?

我们所有邮件都转到gmail垃圾邮件文件夹.
邮件不是垃圾邮件或笨重,只是来自我们的网络应用程序的注册确认电子邮件.

SPF标题给了我以下内容

Received-SPF: pass (google.com: best guess record for domain of apache@www.ourdomain.com designates x.x.x.x as permitted sender) client-ip=x.x.x.x;
Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of apache@www.ourdomain.com designates x.x.x.x as permitted sender) smtp.mail=apache@www.ourdomain.com
Received: from www.ourdomain.com (localhost [127.0.0.1])

其中x.x.x.x是我们的完整IP地址

UPDATE
我的完整邮件标题现在是:

Delivered-To: solsol@gmail.com
Received: by 10.216.183.13 with SMTP id p13cs84787wem;
        Sat,13 Nov 2010 09:00:00 -0800 (PST)
Received: by 10.229.214.139 with SMTP id ha11mr3256460qcb.235.1289667599435;
        Sat,13 Nov 2010 08:59:59 -0800 (PST)
Return-Path: <support@ourdomain.com>
Received: from www.ourdomain.com (www.ourdomain.com [x.x.x.x])
        by mx.google.com with ESMTP id u7si11134289qco.191.2010.11.13.08.59.58;
        Sat,13 Nov 2010 08:59:59 -0800 (PST)
Received-SPF: pass (google.com: domain of support@ourdomain.com designates x.x.x.x as permitted sender) client-ip=x.x.x.x;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of support@ourdomain.com designates x.x.x.x as permitted sender) smtp.mail=support@ourdomain.com
Received: by www.ourdomain.com (Postfix,from userid 48)
    id 5AB8F1C881; Sat,13 Nov 2010 11:59:58 -0500 (EST)
To: solsol@gmail.com
Subject: Signup confirmation needed
From: Ourdomain.com <support@ourdomain.com>
Reply-To: Ourdomain.com <support@ourdomain.com>
MIME-Version: 1.0
Content-type: text/html;charset=UTF-8
Date: Sat,13 Nov 2010 16:59:58 +0000
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <20101113165958.5AB8F1C881@www.ourdomain.com>

Hi! We're thrilled to have you on board!<br /><br />You are now just 1 t=
iny step away from securing your shiny new beta-account.<br /=
>Please click the following link to confirm.<br /><br /><br /><br /><a h=
ref=3D"http://www.ourdomain.com/default/beta/regconfirm/guid/7a8344e1ae=
04062c9c2495429255b5a0/id/76">Confirm your beta subscription</a><br /><b=
r /><br /><br />Have a good day!<br /><a href=3D'http://www.ourdomain.com.com'>ourdomain.com.com</a>

ps:我设置了正确的SPF记录,允许我们的x.x.x.x ip发送电子邮件

更新:

我们如何确保谷歌不会将我们视为垃圾邮件.我已经读过gmail会收到来自@ ourdomain.com的电子邮件,它会运行一个nslookup或者其他什么来查看我们是否真的设置了接收MX服务器?

有人可以确认这一点并给我一个我可以测试的nslookup命令.我很困惑,因为在ourdomain.com上的nslookup提供了正确的MX记录,但是WWW.ourdomain.com上的mxrecord并没有.

我们发送的机器的主机名是www.ourdomain.com.
这可能是个问题吗?

你改变了主机名吗?如果服务器的主机名是localhost,localhost.localdomain,包含IP地址或无法解析到您的服务器,则会出现此问题.改变它:
hostname yourdomain.com以及/ etc / sysconfig / network.

重新启动sendmail然后telnet到端口25上的服务器,应该说:
220 yourdomain.com ESMTP Sendmail,如果不是,您可能还需要编辑sendmail配置文件.

一般情况下,我发现您会因以下原因之一而被垃圾邮件

>主机名错误(如上)
>没有反向DNS
>没有SPF记录
>你被列入黑名单(Google for blacklist checker)
>您正在发送垃圾邮件.

祝好运.

原文链接:https://www.f2er.com/centos/373421.html

猜你在找的CentOS相关文章