docker-mailserver/docs/content/advanced/override-defaults/dovecot.md
2016-09-04 19:13:18 +02:00

1 KiB

The Dovecot default configuration can easily be overridden providing a config/dovecot.cf file. This file can also be used to specify additional configurations. Dovecot documentation remains the best place to find configuration options.

Your docker-mailserver folder should look like this example:

├── config
│   ├── dovecot.cf
│   ├── postfix-accounts.cf
│   └── postfix-virtual.cf
├── docker-compose.yml
└── README.md

Debugging

To debug your dovecot configuration you can use this command:

./setup.sh debug login doveconf | grep <some-keyword>

setup.sh is included in the docker-mailserver repository.

or

docker exec -ti <your-container-name> doveconf | grep <some-keyword>

The config/dovecot.cf is copied to /etc/dovecot/local.conf. To check this file run:

docker exec -ti <your-container-name> cat /etc/dovecot/local.conf