Email Goes to Gmail Spam

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 with SMTP id u4cs40852bkd;
        Tue, 30 Aug 2011 05:37:11 -0700 (PDT)
Received: by with SMTP id c45mr32611727yhm.97.1314707830686;
        Tue, 30 Aug 2011 05:37:10 -0700 (PDT)
Return-Path: <>
Received: from ( [])
        by with ESMTP id g2si5806973yhe.150.2011.;
        Tue, 30 Aug 2011 05:37:09 -0700 (PDT)
Received-SPF: pass ( domain of designates as permitted sender) client-ip=;
Authentication-Results:; spf=pass ( domain of designates as permitted sender)
Received: by (Postfix, from userid 33)
   id DBDDD2F41159; Tue, 30 Aug 2011 08:37:00 -0400 (EDT)
Subject: Closed Beta Invitation from Jason
From: BIG <>
Reply-To: BIG <>
X-Mailer: PHP-5.3.8
X-Priority: 3
Organization: BIG
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary=PHP-alt-e5123bae822ccd1b2897321b6db4fdc5
Message-Id: <>
Date: Tue, 30 Aug 2011 08:37:00 -0400 (EDT)
Modify message

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.

got it.

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 ( best guess record for domain of transitioning does not designate as permitted sender) client-ip=;

( 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 ( domain of uses a mechanism not recognized by this client. unknown mechanisms: )) client-ip=;
Authentication-Results:; spf=permerror ( domain of uses a mechanism not recognized by this client. unknown mechanisms: ))

Here is my spf…
' ~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, but

v=spf1 ~all:3600

I have that on my gmail apps controlled domain and it works fine :slight_smile: (well, without the :3600, not sure what’s that supposed to mean. TTL?)