An installer which deploy a complete mail server based on Modoboa.
Warning
This tool is still in beta stage, it has been tested on:
- Debian Jessie (8)
- Ubuntu Trusty (14.04) and upper
- CentOS 7
Warning
/tmp
partition must be mounted without the noexec
option.
Note
The server (physical or virtual) running Modoboa needs at least 1GB of RAM in order to compile the required dependencies during the installation process.
Usage:
$ git clone https://github.com/modoboa/modoboa-installer $ cd modoboa-installer $ sudo ./run.py <mail server hostname>
To customize the installation, look at the installer.cfg
file.
By default, the following components are installed:
- Database server (PostgreSQL or MySQL)
- Nginx and uWSGI
- Postfix
- Dovecot
- Amavis (with SpamAssassin and ClamAV)
If you want more information about the installation process, add the
--debug
option to your command line.
Warning
Please note this option requires the hostname you're using to be valid (ie. it can be resolved with a DNS query) and to match the server you're installing Modoboa on.
If you want to generate a valid certificate using Let's Encrypt, edit the installer.cfg
file and
modify the following settings:
[certificate] generate = true type = letsencrypt [letsencrypt] email = [email protected]
Change the email
setting to a valid value since it will be used
for account recovery.