Question

Why mail always goes to spam from server?

Hi , I am trying to send mail from my domain server using postfix.I configure the postfix as suggested in the digital ocean community. But it always goes to spam and sometimes mail is not delivered at all. I have configured the MX and TXT records in the dns as mentioned in the forum.Please help me to solve the issue.


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.

This comment has been deleted

One of the things that flags mail as spam is the “from” field not matching the server it came from, because it’s an instant flag for lying about addresses. <br> <br>Make sure that the “from” address is always from a domain name that matches the server. <br>For example, if your website was www.example.com, make sure your emails are from “alice@example.com”, “bob@example.com”. Don’t use “malory@example2.com” if example2.com isn’t registered to your server too. <br> <br>Make sure to try and use a name of some kind with the email, eg <br>From: “William Meade” william@example.com.