mailcow mailserver suite

News and notes

29. Dec 2016 - mailcow: dockerized

11 containers and 4 volumes combine to a Docker conform mailcow installation.

mailcow: dockerized will be a rolling release in the master branch @ GitHub. There will be a dev branch soon, which should not be used.

Learn more about mailcow: dockerized below, please visit our board @ or visit us on IRC @ Freenode in #mailcow

Link to GitHub
Link to Docs
24. Sep 2016 - mailcow 0.14 is final

A fresh installation is recommended!

  • WebUI per mailbox: Enforce in- and outbound TLS
    • ! Works best with Postfix >=3.0 (*uses smtp_dsn_filter to turn temp. TLS errors to perm. errors to notify client instantly)
  • WebUI per mailbox: Set black- and whitelist records for spam filter
  • WebUI: Drag and drop Postfix restrictions
  • Switched WebUI to PDO database interface
  • Added some options to /var/www/mail/inc/ (please use to overwrite settings)
  • Multi-language Web UI (English, Portuguese and German)
  • Fixed errors in Web UI
  • Removed backup from Web UI and added "mailcow-backup-mail" script
  • (Hopefully) RFC compliant email addresses
  • Z-Push removed - choose between SOGo (ActiveSync + DAV) and Roundcube
  • Better Sender ACL (find it at "edit mailbox")
  • Fail2ban was removed and should be setup according to your own setup
  • was added to provide a signed certificate (optional)
Link to release
08. Sep 2016 - Forum online

Thanks to Brad we now have a Discourse instance online for you to find help installing/configuring mailcow!

We can finally stop using Github as our forum and keep using it for real issues and bugs. :-)

Visit forum
27. Dec 2015 - Hosted mailcow (SOGo + OX App Suite) verfügbar

Für deutschsprachige Kunden bietet Servercow nun eine gehostete mailcow-Instanz an.

Mehr lesen

What is mailcow?

mailcow is a mail server suite based on Dovecot, Postfix and other open source software, that provides a modern Web UI for administration.

  • Multi-SAN self-signed SSL certificate for all installed and supporting services
    • Let’s Encrypt optional
  • Webserver installation
    • Apache or Nginx (+PHP5-FPM)
  • SQL database backend, remote database support
    • MySQL or MariaDB
  • mailcow web UI
    • Add domains, mailboxes, aliases, set limits, monitor mail statistics, change mail server settings, create/delete DKIM records, share and create calendars/address books and more…
  • Postscreen activated and configured
  • STARTTLS and SMTPS support
  • The default restrictions used are a good compromise between blocking spam and avoiding false-positives
  • Incoming and outgoing spam and virus protection with FuGlu as pre-queue content filter; Heinlein Support spamassassin rules included; Advanced ClamAV malware filters
  • Sieve/ManageSieve (default filter: move spam to “Junk” folder, move tagged mail to folder “tag”)
  • Public folder support via control center
  • per-user ACL
  • Shared Namespace (per-user seen-flag)
  • Quotas
  • Roundcube
    • ManageSieve support (w/ vacation)
    • Attachment reminder (multiple locales)
    • Zip-download marked messages
See GitHub for more information and documentation.

Everybody loves screenshots!

mailcow 0.14

What do I need?

Debian Ubuntu

mailcow runs best on Debian 8.

Some Debian derivates like Ubuntu should work, too. Though we recommend to install mailcow on a clean Debian 8 installation.

How to install?

1. Get the latest stable release from GitHub:

cd ; wget -O - | tar xfz -
cd mailcow*

2. Open and edit the configuration file:

nano mailcow.config

Empty configuration values are invalid.

Most configuration parameters do not need to be changed, please read the hints inside the file carefully.

sys_hostname Hostname without domain
sys_domain Domain name. "$sys_hostname.$sys_domain" equals to FQDN.
sys_timezone The timezone must be definied in a valid format (Europe/Berlin, America/New_York etc.)
conf_httpd Select wether to use Nginx ("nginx") or Apache2 ("apache2"). Nginx is default.
my_dbhost ADVANCED: Leave as-is ("localhost") for a local database installation. Anything but "localhost" or "" is recognized as a remote installation.
my_mailcowdb, my_mailcowuser, my_mailcowpass SQL database name, username and password for use with Postfix. You can use the default values.
my_rcdb, my_rcuser, my_rcpass SQL database name, username and password for Roundcube. You can use the default values.
my_rootpw SQL root password is generated automatically by default. You can define a complex password here if you want to. Set to your current root password to use an existing SQL instance.
my_usemariadb Use MariaDB instead of MySQL. Only valid for local databases. Installer stops when MariaDB is detected, but MySQL selected - and vice versa.
mailcow_admin_user, mailcow_admin_pass mailcow administrator. Password policy: minimum length 8 chars, must contain uppercase and lowercase letters and at least 2 digits. You can use the default values.
inst_debug Sets Bash mode -x
inst_unattended An unattended installation is possible, but not recommended.

3. Run the installer:


How to upgrade?

Get the latest package from GitHub, don't edit any configuration files and just run:

./ -u

mailcow auto-detects all values - except for your SQL root password - from your current installation.

If you don't want to confirm each step of the upgrade, use -U instead (mailcow >=0.14):

./install -U

When autodetection of your hostname and/or domain name fails, use the -H parameter to overwrite the hostname and/or -D to overwrite the domain name (mailcow >=0.14):

./install -u -H mx -D

How to uninstall?

Change to your extracted mailcow installation package.

- Just remove the basic components, but don't touch your database, mails and other important files:

bash misc/

- Complete wipe, this is dangerous:

bash misc/ --all

Get help

IRC: Freenode, #mailcow

Docs: mailcow: dockerized
Docs: mailcow

Get it

mailcow: dockerized @ GitHub

mailcow: dockerized is based on Postfix, Dovecot, Nginx, PHP, MariaDB, Rspamd, Rmilter and more!

mailcow @ GitHub

mailcow is the standard installer based on open-source software:

  • Postfix
  • Dovecot
  • Nginx/Apache2
  • Spamassassin
  • ClamAV
  • MariaDB/MySQL
  • OpenDKIM
  • Roundcube
  • ...

Feel free to donate

KVM virtual machines for
mailcow @ (DE)