iredmail-doc/troubleshooting/turn.on.debug.mode.in.dovec...

31 lines
769 B
Markdown
Raw Normal View History

# Turn on debug mode in Dovecot
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-20 05:55:33 -05:00
```
mail_debug = yes
2014-09-20 05:55:33 -05:00
```
Restart Dovecot service.
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.
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
auth_verbose_passwords = yes
2014-09-20 05:55:33 -05:00
```