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?

Subscribe
Share

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.

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