1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-05-29 01:07:44 +02:00

37 lines
1.0 KiB
Markdown
Raw Normal View History

2016-06-01 21:12:41 +02:00
The Dovecot default configuration can easily be overridden providing a `config/dovecot.cf` file.
This file can also be used to specify additional configurations.
2016-09-04 19:00:17 +02:00
[Dovecot documentation](http://wiki.dovecot.org/FrontPage) remains the best place to find configuration options.
2016-09-04 19:13:18 +02:00
Your `docker-mailserver` folder should look like this example:
```
├── config
│ ├── dovecot.cf
│ ├── postfix-accounts.cf
│ └── postfix-virtual.cf
├── docker-compose.yml
└── README.md
```
2016-09-04 19:00:17 +02:00
# Debugging
To debug your dovecot configuration you can use this command:
```sh
./setup.sh debug login doveconf | grep <some-keyword>
```
[setup.sh](https://github.com/tomav/docker-mailserver/blob/master/setup.sh) is included in the `docker-mailserver` repository.
or
```sh
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:
```sh
docker exec -ti <your-container-name> cat /etc/dovecot/local.conf
```