On Feb 6, 2008 3:36 PM, Brian Candler <[EMAIL PROTECTED]> wrote: > On Wed, Feb 06, 2008 at 09:49:49AM -0500, Need Coffee wrote: > > SASL authentication failure: cannot connect to Courier authdaemond: > > Operation now in progress > > Is that an exact copy-paste of the message? What program is generating it, > and where? > > Looking with find and grep, I cannot find the string "SASL authentication > failure" anywhere in CVS courier-authlib or courier-imap source code, except > as a comment: > > ./imap/ChangeLog: a SASL authentication failure. > > Nor can I find the string "cannot connect to" except in the context of LDAP: > > ./authldaplib.c: err("cannot connect to LDAP server (%s): %s", > > Regards, > > Brian. > > P.S. "Operation now in progress" is presumably EINPROGRESS. > > Courier *does* open its authdaemon connection in non-blocking mode, but then > waits for a response. EINPROGRESS is explicitly accepted as not being an > error. See s_connect() in authdaemonlib.c > > So I am wondering if this is some other piece of software that you have, > which is talking to courier-authlib?
Sorry -- I realized this after posting. I am using authdaemond for pop/imap, and also for Postfix SMTP-AUTH via Cyrus SASL. The above was in the Postfix log. I used to run authdaemond for pop/imap and saslauthd for Postfix, but realized I could condense them into one. It worked well for years that way... until the load went up suddenly. After cranking to daemons=35 and still seeing the above error I switched to saslauthd (with 25 processes) and the failures have gone away. That said, I'd still prefer to solve this with authdaemond if possible -- the less stuff I have to run, the better :-) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap