Extensive settings customization

We try to carefully select defaults to suit the majority of users. It may happen that you need to adjust settings that are not available through web administration, or you may even want to install some new part to the mail server container.

Smaller changes

Let's say you want to disable the TLS requirement for IMAP and POP3, although this is not recommended you have no other choice because you serve a lot of local legacy clients. First you need to know which files you need to change. In our example we need to change the file /etc/dovecot/conf.d/10-ssl.conf

$ docker exec -ti mailserver bash

root@994de2779f8e:/# mkdir -p /data/_override/etc/dovecot/conf.d
root@994de2779f8e:/# cp /etc/dovecot/conf.d/10-ssl.conf /data/_override/etc/dovecot/conf.d
root@994de2779f8e:/# exit

$ nano /mailserver-data-dir/_override/etc/dovecot/conf.d/10-ssl.conf # replace "ssl = required" with "ssl = yes"
$ docker restart mailserver
Be careful. Some changes may affect your mail delivery in future updates.

Custom Haraka plugins (v2.0.7+)

Adding custom plugins to Haraka can be done by creating the following files inside the directories:


After a restart it will be automatically added to the end of the `plugins' config file (you may need to adjust the hook priority).

Extending image

Docker provides an easy mechanism to customise or completely change the source image. In our example, we will only install "nano", but you can do whatever you like. See Dockerfile reference

PRO version
$ mkdir
$ echo "FROM" >>
$ echo "RUN apt-get update && apt-get -y install nano" >>
$ docker login -u "username" -p "password"
$ docker build -t
$ # ... now you can run
Free version
$ mkdir
$ echo "FROM analogic/" >>
$ echo "RUN apt-get update && apt-get -y install nano" >>
$ docker build -t
$ # ... now you can run