Nope, not running nss_ldap... All of my users are virtual ones, so I've re-organized like you suggested.
Once I get the directions from the DA folks on updating I'll try the dovecot-auth blocking option if I still have the hanging.
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] On Behalf Of Timo Sirainen Sent: Wednesday, March 21, 2007 6:38 PM To: Don O'Neil Cc: 'Dovecot Mailing List' Subject: Re: [Dovecot] Timeouts connecting via POP3
On Wed, 2007-03-21 at 18:00 -0700, Don O'Neil wrote:
auth default: username_chars: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@& count: 5 passdb: driver: passwd passdb: driver: passwd-file args: /etc/virtual/%d/passwd userdb: driver: passwd userdb: driver: passwd-file args: /etc/virtual/%d/passwd
Where does passwd find the users? Are you using nss_ldap or something? Maybe the hangs are related to it? With newer Dovecot versions you can use blocking=yes setting, which does the passwd lookups in separate dovecot-auth worker processes, and if they use up all the processes it logs an error and returns "Internal error" to client instead of hanging.
Also if you have more virtual users than NSS users, it's faster to put the passwd-file passdb/userdb before the passwd, so that that the passwd-file lookups are done first.