Symptom

As Provider I see problems with the courier-auth service functioning on POA-managed qmail servers and I want to enable DEBUG logging for the service to troubleshoot it.

Resolution

To enable debug logging for the courier-auth service, do the following actions on POA-managed qmail servers:

  1. Open the /etc/authlib/authdaemonrc file in text editor

  2. Set the DEBUG_LOGIN parameter to one of the following values:

    • 1 - to turn on debug logging
    • 2 - to turn on debug logging and log users' password as well
  3. Make sure that the line similar to the one provided below is present in the syslog service configuration file, usually it is /etc/syslog.conf:

    mail.*    -/var/log/maillog
    
  4. Restart the syslog and courier-auth services:

    /etc/init.d/syslog restart
    /etc/init.d/courier-auth restart
    

Internal content