2014-09-20 05:50:50 -05:00
|
|
|
# Turn on debug mode in Dovecot
|
2014-09-16 23:56:41 -05:00
|
|
|
|
2015-04-15 18:55:05 -05:00
|
|
|
> Don't know where Dovecot config files are? check this tutorial:
|
2016-02-10 06:05:52 -06:00
|
|
|
> [Locations of configuration and log files of major components](file.locations.html#dovecot).
|
2014-10-10 23:05:53 -05:00
|
|
|
|
2014-09-30 19:19:50 -05:00
|
|
|
To turn on debug mode in Dovecot, please update below parameter in Dovecot
|
|
|
|
config file `dovecot.conf`:
|
|
|
|
|
2014-09-20 05:55:33 -05:00
|
|
|
```
|
2014-09-16 23:56:41 -05:00
|
|
|
mail_debug = yes
|
2014-09-20 05:55:33 -05:00
|
|
|
```
|
2014-09-16 23:56:41 -05:00
|
|
|
|
|
|
|
Restart Dovecot service.
|
|
|
|
|
|
|
|
If you need authentication and password related debug message, turn on related
|
|
|
|
settings and restart dovecot service.
|
|
|
|
|
2014-09-20 05:55:33 -05:00
|
|
|
```
|
2014-09-16 23:56:41 -05:00
|
|
|
auth_verbose = yes
|
|
|
|
auth_debug = yes
|
|
|
|
auth_debug_passwords = yes
|
|
|
|
auth_verbose_passwords = yes
|
2014-09-20 05:55:33 -05:00
|
|
|
```
|
2015-04-15 18:55:05 -05:00
|
|
|
|
2016-08-03 03:31:14 -05:00
|
|
|
If Dovecot service cannot start, please run it manually, it will print the
|
|
|
|
error message on console:
|
2015-04-15 18:55:05 -05:00
|
|
|
|
2016-08-03 03:31:14 -05:00
|
|
|
```shell
|
|
|
|
dovecot -c /etc/dovecot/dovecot.conf
|
2015-04-15 18:55:05 -05:00
|
|
|
```
|