From 9d7011a6fb2df37e67571083b8469aaab42a6a51 Mon Sep 17 00:00:00 2001 From: Josef Friedrich Date: Sun, 4 Sep 2016 19:00:17 +0200 Subject: [PATCH] Add more documentation --- .../advanced/override-defaults/dovecot.md | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/content/advanced/override-defaults/dovecot.md b/docs/content/advanced/override-defaults/dovecot.md index 12fc07e7..42fae048 100644 --- a/docs/content/advanced/override-defaults/dovecot.md +++ b/docs/content/advanced/override-defaults/dovecot.md @@ -1,3 +1,25 @@ 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](http://wiki.dovecot.org/FrontPage) remains the best place to find configuration options. \ No newline at end of file +[Dovecot documentation](http://wiki.dovecot.org/FrontPage) remains the best place to find configuration options. + +# Debugging + +To debug your dovecot configuration you can use this command: + +```sh +./setup.sh debug login doveconf | grep +``` + +[setup.sh](https://github.com/tomav/docker-mailserver/blob/master/setup.sh) is included in the `docker-mailserver` repository. + +or + +```sh +docker exec -ti doveconf | grep +``` + +The `config/dovecot.cf` is copied to `/etc/dovecot/local.conf`. To check this file run: + +```sh +docker exec -ti cat /etc/dovecot/local.conf +```