Hello, /etc/courier/authlib/authdaemonrc provides a LOGGEROPTS directive which should contain command line options passed to "courrierlogger". Whatever LOGGEROPTS is set to, nothing is passed to the courrierlogger instance which spaws "authdeamond" and this can be verified with "ps axf". After investigating a bit, the problem seems to come from /etc/init.d/courier-authlib file. In the function "setauth()", there's a line : export DEBUG_LOGIN DEFAULTOPTIONS LOGGEROPTS but I wasn't unable to find any kind of info claiming that the courier executables honor these environment vars. To workaround the problem, I've modified the following statement: [...] /usr/bin/env $logger -- -pid="$pidfile" [...] to: [...] /usr/bin/env $logger -- ${LOGGEROPTS} -pid="$pidfile" [...] and now it works as expected.
Created attachment 97193 [details, diff] Patch for /etc/init.d/courier-authlib
Thanks, fixed in courier-authlib-0.58-r1.