On to, 2010-06-03 at 09:14 -0600, markham breitbach wrote:
Jun 02 16:54:06 pop3-login: Info: Login: user=<bobs>, method=PLAIN, rip=199.247.84.12, lip=64.247.129.4 Jun 02 16:54:06 POP3(bob_smith@example.tld): Info: Loading modules from directory: /usr/local/lib/dovecot/pop3
Is the above correct? Login shows the username as "bobs", but pop3 sees it as bob_smith@domain? I think that means the passdb lookup did change the username, but a later userdb probably changes it back..
After much searching for anything different between these records, some tcpdumps showed that the problem occured when LDAP returned the attributes in a different order than they are requested in.
There shouldn't be any ordering-dependent code..
Logs about broken login with auth_debug=yes might show something useful.