避免垃圾邮件问题

避免垃圾邮件问题

我现在正在做一个项目,发送电子邮件作为购买确认。有些电子邮件仍然被当作垃圾邮件接收。我已经注册了 google apps for business 的域名,并使用 PHPMailer 代码库(用于 sugarCRM、drupal 等)通过 google 服务器使用 smtps 发送电子邮件。我意识到邮件本身的正文内容可能是罪魁祸首。

然而,我很难理解的是标头。域名 ourgreatmovie.com 出现在标头的许多部分。这原本是我们使用的域名,直到我们更改为turnofthiscentury.com。我认为这可能是由于我为旧域名设置的反向 DNS 指针 - 但是我已让我的托管服务提供商将其更改为新域名并已验证了更改。

此外,我已经检查过/etc/hosts file;那里什么也没有 - 对于/etc/sysconfig/network(CentOS 6)也是一样;不再确定这个域名来自哪里;目的地收到的标头示例副本如下:提前致谢!

Received: by 10.205.75.199 with SMTP id zb7csp33558bkb; Thu, 29 Aug 2013 10:03:53 -0700 (PDT)
Received: from ourgreatmovie.com (turnofthiscentury.com. [199.103.57.26]) by mx.google.com with ESMTPS id mc6si19213371icc.79.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 29 Aug 2013 10:03:52 -0700 (PDT)
Received: from ourgreatmovie.com (localhost.localdomain [127.0.0.1]) by ourgreatmovie.com (8.13.8/8.13.8) with ESMTP id r7TCAYLw020926 for <[email protected]>; Thu, 29 Aug 2013 08:10:34 -0400
Received: (from apache@localhost) by ourgreatmovie.com (8.13.8/8.13.8/Submit) id r7TCAYgg020925; Thu, 29 Aug 2013 08:10:34 -0400
X-Received: by 10.43.53.144 with SMTP id vq16mr1714222icb.41.1377795832986; Thu, 29 Aug 2013 10:03:52 -0700 (PDT)
Return-Path: <[email protected]>
Received-Spf: neutral (google.com: 199.103.57.26 is neither permitted nor denied by best guess record for domain of [email protected]) client-ip=199.103.57.26;
Authentication-Results: mx.google.com; spf=neutral (google.com: 199.103.57.26 is neither permitted nor denied by best guess record for domain of [email protected]) [email protected]
X-Php-Originating-Script: 0:class.phpmailer.php
Message-Id: <[email protected]>
X-Priority: 3
X-Mailer: PHPMailer 5.2.6 (https://github.com/PHPMailer/PHPMailer/)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

答案1

看起来它是邮件服务器程序正在发送的,因为它是 HELO/EHLO。

检查您的邮件系统中的此设置:[email protected]以及服务器在 SMTP 设置/通信期间如何识别自身的任何设置。

请查看以下 2 个链接以供参考:

如何使用 sendmail 指定传出 HELO?

https://stackoverflow.com/questions/5672651/change-helo-host-name-when-sending-email

相关内容