Mail from website ends up in spam.

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

“v=spf1 mx ~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?


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.

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

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.

Create DKIM for the website.