Updated, step by step, email server (pop, imap) for ubuntu

  • Posted September 16, 2014

All the tutorials are more or less outdated.

As DNS config, email should be easy config, this is the only problem I found in this service.

step by step should include (in this order):

  1. DNS registries. Include multidomain
  2. do we need to add users to the machine? If so, how to add them and the setup for folder/email permissions
  3. required programs needed in order to set POP/IMAP (postfix, SSL…)
  4. Test with email clients (settings ports, ssl) as thunderbird, outlook or gmail.
  5. optional: webemailserver setup, in php and sendmail php function.

Maybe 1 click install of the LAMP with a kind of CPANEL for that should be perfect, cause is not user friendly at all.



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.

Hi, thanks for the fast answer, good customer care services.

No one click install, not easy install, not tutorial but payd easy service.

Thanks, but no Thanks


Hosting your own mail server can be a very complicated task. Setting up a simple send-only SMTP server for PHP to be able to send mail is less so, but even then you’re likely to run into issues with your mail ending up in spam unless you take care to DKIM sign messages and rate limit your messages.

If you’re planning to set up a full blown mail server with IMAP support and web mail, I’d suggest looking at Mail-in-a-Box or iRedMail. Both offer a way to get a mail server with all the bells and whistles up quickly.