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?

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.

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

Submit an Answer