Email landing in spam of Gmail

  • Posted on September 28, 2013
  • preetamAsked by preetam

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

<code> 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 </code>

Thanks in advance

Regards, Preetam

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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: <br>@ v=spf1 mx ip4: -all <br> <br>Or should I be using this? <br>@ v=spf1 a mx ptr ip4: -all <br> <br>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.

@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.

What if you are using multiple domains?