iredmail-doc/en_US/troubleshooting/debug.dovecot.md

33 lines
800 B
Markdown
Raw Permalink Normal View History

# Turn on debug mode in Dovecot
> Don't know where Dovecot config files are? check this tutorial:
> [Locations of configuration and log files of major components](file.locations.html#dovecot).
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
```
mail_debug = yes
2014-09-20 05:55:33 -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
```
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
2020-11-14 00:58:43 -06:00
# Set to 'yes' or 'plain', to output plaintext password (NOT RECOMMENDED).
auth_verbose_passwords = plain
2014-09-20 05:55:33 -05:00
```
If Dovecot service cannot start, please run it manually, it will print the
error message on console:
```shell
dovecot -c /etc/dovecot/dovecot.conf
```