I configured postfix and dovecot on ubuntu 16, Im able to send emails to example@gmail.com using admin@mydomain.com although Im not able to receive emails from example@gmail.com. I have checked my mx records using an online website and it returned no errors. I have configured mail.mydomain.com and smtp port 25 is also working
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Postfix is responsible for receiving emails and passing them to Dovecot for local delivery. Postfix also works as an SMTP server. So failure to receive emails on your system could be caused by several factors: