Add override section
This commit is contained in:
parent
8d7301d679
commit
2e283a0570
|
@ -1,5 +1,6 @@
|
||||||
The Dovecot default configuration can easily be overridden providing a `config/dovecot.cf` file.
|
# Add configuration
|
||||||
This file can also be used to specify additional configurations.
|
|
||||||
|
The Dovecot default configuration can easily be extended providing a `config/dovecot.cf` file.
|
||||||
[Dovecot documentation](http://wiki.dovecot.org/FrontPage) remains the best place to find configuration options.
|
[Dovecot documentation](http://wiki.dovecot.org/FrontPage) remains the best place to find configuration options.
|
||||||
|
|
||||||
Your `docker-mailserver` folder should look like this example:
|
Your `docker-mailserver` folder should look like this example:
|
||||||
|
@ -13,6 +14,23 @@ Your `docker-mailserver` folder should look like this example:
|
||||||
└── README.md
|
└── README.md
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Override configuration
|
||||||
|
|
||||||
|
For major configuration changes it’s best to override the `dovecot` configuration files. For each configuration file you want to override, add a list entry under the `volumes:` key.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
version: '2'
|
||||||
|
|
||||||
|
services:
|
||||||
|
mail:
|
||||||
|
...
|
||||||
|
volumes:
|
||||||
|
- maildata:/var/mail
|
||||||
|
...
|
||||||
|
- ./config/dovecot/10-master.conf:/etc/dovecot/conf.d/10-master.conf
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
# Debugging
|
# Debugging
|
||||||
|
|
||||||
To debug your dovecot configuration you can use this command:
|
To debug your dovecot configuration you can use this command:
|
||||||
|
|
Loading…
Reference in New Issue