Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gmail and Hotmail marked as spam

Tags:

php

email

First of all, I want to thank you for your time. I'm having a hard time getting my head around this problem.

With reference to this thread we've dediced to implement PHPMailer. This however worked fine untill we've dediced to change the IP adress of the Exim deamon running on the system. Now, Hotmail and GMail both mark us as spam although we've got correct rDNS etc. We've also taken part in the Microsoft Sender ID and Junk Email Reporting program, but that still won't help us.

You can see an output of the php script running here(http://koopte.be/mailtest/test/examples/test.php).

Also, some mail headers from GMail:

Delivered-To: [email protected] Received: by 10.227.133.10 with SMTP id d10cs153720wbt; Sun, 17 Oct 2010 02:44:10 -0700 (PDT) Received: by 10.227.37.8 with SMTP id v8mr3118896wbd.37.1287308647612; Sun, 17 Oct 2010 02:44:07 -0700 (PDT) Return-Path: Received: from drt01.dco.fusa.be ([81.95.119.6]) by mx.google.com with ESMTP id ep1si12575868wbb.6.2010.10.17.02.44.06; Sun, 17 Oct 2010 02:44:07 -0700 (PDT) Received-SPF: neutral (google.com: 81.95.119.6 is neither permitted nor denied by best guess record for domain of [email protected]) client-ip=81.95.119.6; Authentication-Results: mx.google.com; spf=neutral (google.com: 81.95.119.6 is neither permitted nor denied by best guess record for domain of [email protected]) [email protected] Received: from admin by drt01.dco.fusa.be with local (Exim 4.69) (envelope-from ) id 1P7Pmg-0001qb-Gg for [email protected]; Sun, 17 Oct 2010 11:44:06 +0200 To: Subject: Koopte.be X-PHP-Script: www.koopte.be/mailtest/test/examples/test_smtp_advanced_no_auth.php for 84.31.105.128 Date: Sun, 17 Oct 2010 11:44:06 +0200 From: "Koopte.be" Reply-to: "Koopte.be" Message-ID: X-Priority: 3 X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_f102f7049d61084cf6a8ef51cf0e57bc" Sender:

Our log shows the following, which seems OK to me:

2010-10-17 02:33:30 1P7HBn-0000l7-Ro => email F=<[email protected]> R=lookuphost T=remote_smtp S=1475 H=gmail-smtp-in.l.google.com [209.85.227.27] C="250 2.0.0 OK 1287275610 v32si21774961weq.142"

Thank you for your time!

Edit: rDNS is being fixed as we speak.


rDNS is set now, come on guys, what am I missing?

Google reports this in the headers:

Received-SPF: neutral (google.com: 81.95.119.6 is neither permitted nor denied by best guess record for domain of [email protected]) client-ip=81.95.119.6;

But my SPF is this:

domainname. TXT "v=spf1 a mx ip4:81.95.119.6 ~all"

like image 632
Tom Avatar asked Oct 17 '10 00:10

Tom


1 Answers

You should setup an SPF record for your domain. Google is only returning neutral on your SPF check.

like image 112
Chris Henry Avatar answered Oct 09 '22 12:10

Chris Henry