Chempo
By:
Chempo

Mail from website ends up in spam.

March 21, 2015 2.9k views
Email DigitalOcean Apache LAMP Stack DNS PHP WordPress Ubuntu

I already had this problem and I solved by putting correct spf records

"v=spf1 mx include:_spf.google.com ~all"

I've added two new websites through apache virtual hosts. since then mail that was coming from 'fixed' site is getting into spam and also from the new websites. 2 of them are Wordpress and 1 is just normal html/css site that has php contact form.

How to fix this?

3 Answers

Yes, the tutorial recommended in the comment should work.
Since you didn't provide an information about what kind of a mail server do you have, I will assume that like me, you have Exim :)
A simple google search will help you to find more tutorials. For example, I used this fine article to install and configure DKIM with Exim for my server.

  • Hmm I am not quite sure what mail server I have. I think it is not Exim. I think it is postfix. Thanks man for pointing me in the right direction.

You are welcome. I am glad that I was able to help you.

Have another answer? Share your knowledge.