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:
|
2014-10-10 23:05:53 -05:00
|
|
|
> [Locations of configuration and log files of mojor components](file.locations.html#dovecot).
|
|
|
|
|
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
|
|
|
|
|
|
|
If you see many error message (like `dovecot fails, spawning too quickly`) in
|
|
|
|
Dovecot error log while restarting Dovecot, there might be something wrong
|
|
|
|
in Dovecot config file. Please try to start it on command line manually, it
|
|
|
|
will report configuration error if any, fix them and start it again:
|
|
|
|
|
|
|
|
```
|
|
|
|
# dovecot -c /etc/dovecot/dovecot.conf
|
|
|
|
```
|