WordPress Emails using LEMP Application Image & Postfix

  • Posted October 25, 2014

Right now I am using the LEMP Application image for my droplet. Everything is great except that WordPress can’t send emails via wp_mail() or mail().

I’ve installed postfix and configured it as an Internet Site and supplied my primary domain name (and restarted, of course). Still, no email’s are being sent.

Please no suggestions to use SMTP, I need to be able to override the From: header as I am using Gravity Forms.

I also spun up a LAMP and WordPress droplet to test, same result.

Worried this may be a 25 port issue, but can’t wrap my head around the solution.


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.

Are there any errors in Postfix’s error log?

sudo tail /var/log/mail.err

Can you connect to port 25 on remote servers? What’s the output of:

nc -vz 25