By ndkratos
I’ve tried every documentation on installing everything from Postfix/Dovecot/iRedmail etc… So far the only thing I’ve got to work is Postfix, which is sad.
I’m running Ubuntu 12.04 with nginx/PHP for my website. I want to use nginx for the mail server as well. Can anyone please tell me how to get Postfix/Dovecot to play nice with Nginx?
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!
You can install either iRedMail or Postfix/Dovecot manually. Doing both will most likely break your setup. <br> <br>You can install iRedMail, configure Apache to listen on port 8080, and configure nginx to reverse proxy to apache like another user did: <a href=“https://www.digitalocean.com/community/questions/nginx-reverse-proxy-with-iredmail-apache2”>https://www.digitalocean.com/community/questions/nginx-reverse-proxy-with-iredmail-apache2</a>. <br> <br>Make sure you uninstall (with the --purge argument, e.g. <code>sudo apt-get remove postfix --purge</code>) all mail related packages such as postfix and dovecot so that existing configs do not conflict with iRedMail. <br> <br>Good luck!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.