1

Topic: [FAQ] How to debug Dovecot and Sieve rules.

This tutorial is used to explain how to debug Dovecot (POP3/IMAP server) and sieve rules in iRedMail. If they don't work for you, please post a new topic in iRedMail General Technical Support forum.
=====================

What do they do
  • Dovecot provides POP3/POP3S, IMAP/IMAPS services.

  • Sieve is used to filter mails.

How to debug them
  • Enable debug mode in dovecot config file: /etc/dovecot.conf (RHEL/CentOS) or /etc/dovecot/dovecot.conf (Debian/Ubuntu).

mail_debug = yes
  • Restart dovecot service to turn on debug mode.

# /etc/init.d/dovecot restart
Log files

You can now start to monitor log files:

  • Dovecot log file is /var/log/dovecot.log.

  • Sieve log file is /var/log/sieve.log.

References