Question

How to setup postfix to send email not as spam?

I create a WordPress droplet with ubuntu 14.04 and install postfix, it can send mail to the user when user register, but the mail client(Gmail) always treats the mail as SPAM, and I found that the send from is “wordpress@mydomain.com”.

How to setup the send from correctly in postfix so that the mail client doesn’t treat the mail that my server sent as SPAM.

Thank you.

ucheng


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.

Administering mail traffic can be a complicated subject these days. Have you deployed DKIM and SPF with your mail setup? Are you utilizing DMARC reporting? Are you receiving any error log entries from receiving mail servers that indicate they are delaying your traffic for SPAM reasons?

DKIM and SPF are good places to begin with helping maintain a good reputation on the internet. DKIM and SPF are anti spoofing specifications that help receiving mail servers know mail traffic is legitimate. DMARC allows you to receive reports on your policies from major ISP providers around the world.

I am also facing same issue … My ip is not blacklisted but still the emails are going to spam folder

Please help.

Spam filtering is usually done based on the IP address, you need to check if your IP address is on the IP Address Black List. If it is then your best option would be to destroy the droplet and create a new one. On another note, are you using any security measures, a firewall? using HTTPS? etc , you need to protect your droplet from the hackers and the malicious activity that they can perfrom