I'm not sure why my email is going to gmail spam. I have been trying to fix this issue for about three days now. I have a valid RDNS , MX and SPF record. The full email headers are show below. I'm not sure what I am missing.
Received: by 10.204.36.196 with SMTP id u4cs40852bkd;
Tue, 30 Aug 2011 05:37:11 -0700 (PDT)
Received: by 10.236.177.69 with SMTP id c45mr32611727yhm.97.1314707830686;
Tue, 30 Aug 2011 05:37:10 -0700 (PDT)
Received: from big.com (big.com [220.127.116.11])
by mx.google.com with ESMTP id g2si5806973yhe.150.2011.08.30.05.37.09;
Tue, 30 Aug 2011 05:37:09 -0700 (PDT)
Received-SPF: pass (google.com: domain of firstname.lastname@example.org designates 18.104.22.168 as permitted sender) client-ip=22.214.171.124;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of email@example.com designates 126.96.36.199 as permitted sender) firstname.lastname@example.org
Received: by big.com (Postfix, from userid 33)
id DBDDD2F41159; Tue, 30 Aug 2011 08:37:00 -0400 (EDT)
Subject: Closed Beta Invitation from Jason
From: BIG <email@example.com>
Reply-To: BIG <firstname.lastname@example.org>
Content-Type: multipart/alternative; boundary=PHP-alt-e5123bae822ccd1b2897321b6db4fdc5
Date: Tue, 30 Aug 2011 08:37:00 -0400 (EDT)
There might be words in your subject line that trigger a spam filter, such as Beta and Invitation.
That is unfortunately not the issue.
If you send one to <snip/>, I can check my Spam Assassin log to see what that thinks about your email if you like.
I just sent it. Let me know if you got it and what you think the issue is.
SpamAssassin is perfectly fine with the email. Give it a score of zero for spam (i.e. it can't find any reason why this should be spam).
The only thing I could find is that the sender is different than what you said. In the headers I get
Received-SPF: softfail (google.com: best guess record for domain of transitioning email@example.com does not designate 188.8.131.52 as permitted sender) client-ip=184.108.40.206;
( removethis. was added by me )
Thank you for your help but this is so frustrating. I just wish I knew what the trigger was.
That domain or ip might have previously been used to send spam and could be on a gmail blacklist.
Also, use proper 'to' syntax like
"John Smith" <John@somewhere.c>
I think my problem is that my SPF is wrong, but I don't know why. I am using tinydns and i've tried a bunch of combinations but my hearder is now displaying.
Received-SPF: unknown (google.com: domain of firstname.lastname@example.org uses a mechanism not recognized by this client. unknown mechanisms: )) client-ip=220.127.116.11;
Authentication-Results: mx.google.com; spf=permerror (google.com: domain of email@example.com uses a mechanism not recognized by this client. unknown mechanisms: )) firstname.lastname@example.org
Here is my spf...
'big.com:v=spf1 include:spf.google.com ~all:3600
Why is it failing? After I edit the file I made sure I restarted apache but it still fails.
you shouldn't include spf.google.com, but aspmx.googlemail.com
v=spf1 include:aspmx.googlemail.com ~all:3600
I have that on my gmail apps controlled domain and it works fine (well, without the :3600, not sure what's that supposed to mean. TTL?)