
私は現在、購入確認としてメールを送信するプロジェクトに取り組んでいます。一部のメールは依然としてスパムとして受信されています。ドメインを Google Apps for Business にサインアップし、PHPMailer コード ベース (sugarCRM、drupal などに使用) を使用して、SMTP を使って Google サーバー経由でメールを送信しています。メッセージ自体の本文の内容が原因である可能性があると認識しています。
しかし、私が理解に苦しんでいるのはヘッダーです。ドメイン 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