Set up a mail server for multiple domains using Postfix, Dovecot & PostfixAdmin

By jbayer - Last updated: Wednesday, March 9, 2011 - Save & Share - Leave a Comment

A common task is to set up a mail server.  A less common task is to be able to support multiple domains on the same mail server, with the possibility of the same address on different domains.

An easy way to do this is to use Postfix and Dovecot, using MySql as a backend to store the user information, and using PostfixAdmin as a management interface.

The following link does a very nice job of explaining how to do this:

I have used this page as a reference to create a script to almost fully automate this.  The script has been tested on CentOS 5.5, and in fact was used to build our new mail server.

Additionally, this script installs Roundcube and Squirrelmail on the server for webmail access, and creates a minimal index.html to grant access to Roundcube & Squirrelmail.

Just do a minimal install, upload the script and execute it.  It will take care of disabling SELinux, if required. (24.9 KiB, 1,530 hits)

Posted in Administration, Linux Installations, Open Source • Tags: , Top Of Page

Write a comment