This tutorial is available in other languages. Help translate more

简体中文 /

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.

To turn on debug mode in Dovecot, please update below parameter in Dovecot config file dovecot.conf:

mail_debug = yes

Restart Dovecot service.

If you need authentication and password related debug message, turn on related settings and restart dovecot service.

auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes

# Set to 'yes' or 'plain', to output plaintext password (NOT RECOMMENDED).
auth_verbose_passwords = plain

If Dovecot service cannot start, please run it manually, it will print the error message on console:

dovecot -c /etc/dovecot/dovecot.conf