Cannot prevent e-mail from VPS from being marked as, 'spam' in Gmail

  • Posted February 6, 2014

Hey community,

I have followed numerous guides on this help forum (A great resource btw) on setting up outgoing mail on my VPS/Worpdress installation.

To sum up the problem, I have installed Postfix, added an SPF record, and ensured my PTR record is there, yet all messages sent from the server are still marked as ‘spam’ by Google.

The original header from Gmail can be found here (some information removed for privacy):

I have run out of ideas at this point, as I have seemingly exhausted the guides available to me… I’m wondering if I screwed something up somewhere, and if a pro out there can spot my mistake.

Thanks in advance,

– Joseph


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

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.

Hey everyone, <br> <br>After going through every step I could find in various tutorials, I still couldn’t get this working. Despite the SPF receiving a, ‘pass’ from Google, basic e-mails from Wordpress (i.e. website registration) were still being marked as spam. <br> <br>To solve this problem, I decided to basically give up on running my own MTP (mail transfer protocol), and register for Mandrill - a web app run by the MailChimp dudes. They provide a wordpress plugin which pushes all e-mail through Mandrill/SMTP. <br> <br>Since making the switch, all my messages are appropriately going to the inbox. <br> <br>Not the best solution for sure. I like to try and keep my services local. That said, it solved the problem for me, and I can move on to other issues. <br> <br>Hope this helps someone else!