Question

Postfix can't send mail Ubuntu

Hi,

I am having one heck of a time setting up basic email service with this server.

Currently using postfix.

Emails stay in queue forever, and if I force them I get

Forcing the attempted delivery of mail with the command postqueue -c /etc/postfix -f …

postqueue: warning: unable to look up public/qmgr: No such file or directory postqueue: fatal: Cannot flush mail queue - mail system is down

Turned off the ufw firewall for this testing so I know it’s not the firewall.

Thanks

Show comments

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.

I used this one : https://www.digitalocean.com/community/tutorials/how-to-install-and-setup-postfix-on-ubuntu-14-04

Should I be using another? What I would like is to have php be able to send mail to customers and wordpress to be able to email out passwords and such.

Thanks

@yorkdigitalsolutions - You have both sendmail and postfix installed and active. You need to disable sendmail for postfix to work.