Email landing in spam of Gmail

September 28, 2013 3k views
Hi, I have setup an email postfix server & dovecot Some how all my emails are landing in spam in all the gmail a/c. Can someone suggest what is to be done Return-Path: <; X-Original-To: Delivered-To: Received: from ( []) by (Postfix) with ESMTP id 107135330001 for <;; Sat, 28 Sep 2013 12:02:40 -0400 (EDT) Received: from [] (unknown []) by (Postfix) with ESMTPSA id BE5CB2118B for <;; Sat, 28 Sep 2013 21:32:38 +0530 (IST) Message-ID: <; Date: Sat, 28 Sep 2013 21:32:26 +0530 From: eskool <; User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Subject: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thanks in advance Regards, Preetam
9 Answers
by Pablo Carranza
A carefully tailored SPF record will reduce the likelihood of your domain name getting fraudulently spoofed and keep your messages from getting flagged as spam before they reach your recipients.
I had got the spf record set for the domain. is there anythng wrong with that?
Help us, help you by showing us what your SPF record looks like.
v=spf1 +a +mx +ip4: ~all
According to some DNS testing tools I found online, it appears as though you're missing PTR records.
Rename your droplet to the domain you're going to send mail from.
What if you are using multiple domains?
@camoatech: The mail server's hostname should match the domain you're sending mail from otherwise it'd be considered as spam by most email providers. However if you add SPF and DNS records that point to your droplet it should be fine.
I am running into the same issue. I have this SPF record set for all my domains in the DNS and my email still ends up in gmails spam folder. Here is my SPF record:
@ v=spf1 mx ip4: -all

Or should I be using this?
@ v=spf1 a mx ptr ip4: -all

Any help would be appreciated. I am at a loss. I have checked the spam lists from here and everything looks good. I have also done this DNS check which everything looks good.
Have another answer? Share your knowledge.