Question

I just set up postfix on the server but emails could not be received.

I’ve followed this guide https://www.digitalocean.com/community/tutorials/how-to-install-and-setup-postfix-on-ubuntu-14-04 step by step and tested sending my email from my gmail to both hello@getjio.sg and felix@getjio.sg. But the emails could not be delivered.

I have added hello@getjio.sg felix in sudo /etc/postfix/virtual step.

Could it be because I did not add any MX records?


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.

yup. You need to add MX records. Probably works if you send it via a local account to hello@localhost

A protip is to also add rDNS for your server. That reduces the risk to your emails being marked as spam by other servers (like Gmail for example)

You can try another tutorial for mail server for Ubuntu 14.04

I used this article to successfully create a mail server on Ubuntu 14.04