Emails are flagged as spam by gmail, with SPF passed

Posted October 14, 2013 14.1k views
I am still having this problem! even though the message shows everything right! is there anyway to create the PTR records on the DNS manager tool? do I have to have my own DNS? if so... is there an alternative to use( if so, how do I configure that? SPF: "v=spf1 a mx ip4: ?all" Google says signature is ok, dkim is passed and SPF is passed... what else do I need? any special way to create MX records?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
10 answers
In your SPF record, change ?all to ~all
Still going to spam :(
Received: by with SMTP id ca6csp221543lbb;
Mon, 14 Oct 2013 08:04:14 -0700 (PDT)
X-Received: by with SMTP id hx4mr38613411pad.54.1381763053923;
Mon, 14 Oct 2013 08:04:13 -0700 (PDT)
Received: from ( [])
by with ESMTP id ei3si50076782pbc.290.1969.;
Mon, 14 Oct 2013 08:04:13 -0700 (PDT)
Received-SPF: pass ( domain of designates as permitted sender) client-ip=;
spf=pass ( domain of designates as permitted sender);
Received: from ( [])
by (Postfix) with ESMTPSA id 2813362DB8
for ; Mon, 14 Oct 2013 10:04:12 -0500 (CDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;;
s=2013; t=1381763052;
Received: by with SMTP id q59so7045994wes.25
for ; Mon, 14 Oct 2013 08:04:11 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20130820;
MIME-Version: 1.0
X-Received: by with SMTP id i8mr15032951wiv.37.1381763051129;
Mon, 14 Oct 2013 08:04:11 -0700 (PDT)
Received: by with HTTP; Mon, 14 Oct 2013 08:04:11 -0700 (PDT)
Date: Mon, 14 Oct 2013 10:04:11 -0500

and still going to spam!
Have you checked to make sure your domain and/or IP address are not blacklisted?
Yes sir, doesn't seem to be listed. I also have a nother domain, everything is ok as well but it also goes to spam!
Looks like there's some redundancy in that you declare a and and ip4: Perhaps repeating essentially the same value 3 times is confusing the SPF filters you're encountering.

Try shortening up your SPF record from "v=spf1 a mx ip4: ?all" to "v=spf1 mx a ~all".
I'll try that. but SPF shows passed!
That did not work, I suspect it may be reverse DNS?
"... I suspect it may be reverse DNS?"

Could be. Login to your DigitalOcean Control Panel and make sure your PTR record is correct. If not, simply recreate the droplet's hostname via the D.O. C.P. and the PTR record will be updated automatically.
50% of digital ocean's AMS datacenter's IP's are blacklisted. That's why your email are going in to a spam folder in gmail.
  • Hi, quick questions, how do you verified about blacklisted Digital Ocean’s IP?… Using mailgun service could avoid going to spam folder in gmail?