2014-09-20 05:50:50 -05:00
|
|
|
# Turn on debug mode in Dovecot
|
2014-09-16 23:56:41 -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`:
|
|
|
|
|
|
|
|
* on Linux and OpenBSD, it's `/etc/dovecot/dovecot.conf`
|
|
|
|
* on FreeBSD, it's `/usr/local/etc/dovecot/dovecot.conf`
|
2014-09-16 23:56:41 -05:00
|
|
|
|
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.
|
|
|
|
|
2014-09-23 21:20:47 -05:00
|
|
|
Dovecot is configured to log into 3 log files:
|
|
|
|
|
|
|
|
* `/var/log/dovecot.log`: main log file.
|
|
|
|
* `/var/log/dovecot-sieve.log`: sieve related log.
|
|
|
|
* `/var/log/dovecot-lmtp.log`: lmtp related log. __NOTE__: old iRedMail release
|
|
|
|
doesn't have this file.
|
|
|
|
|
2014-09-16 23:56:41 -05:00
|
|
|
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
|
|
|
```
|