atom feed4 messages in net.sourceforge.lists.courier-imapRe: [Courier-imap] Patch for authdaem...
FromSent OnAttachments
Norbert KottmannMay 24, 2006 8:41 am 
Sam VarshavchikMay 24, 2006 3:21 pm 
Brian CandlerMay 25, 2006 12:40 am 
Brian CandlerMay 25, 2006 1:21 am 
Subject:Re: [Courier-imap] Patch for authdaemonlib.c opensock() function
From:Sam Varshavchik (mrs@courier-mta.com)
Date:May 24, 2006 3:21:33 pm
List:net.sourceforge.lists.courier-imap

Norbert Kottmann writes:

Hi

We made a little testpatch for the opensock() function in authdaemonlib.c.

We patched the source because under high load, the imap and pop daemons (more than one ;-) can simutaniously block the socket to the authdaemond, so that another imap/pop daemon can not connect to the socket. This will lead to really ugly tempfails and the user has to retype the password.

Whats new:

If we can not connect to the UNIX socket, wait (random between 0.9s - 1.1s) and try again. Do this max 10 times and if the socket is still not available, exit with "authentication failed".

Wrong.

The correct solution is to increase the number of authdaemond processes, in the authdaemonrc configuration file.