Can anyone else reproduce this problem? What version of courier-imap are you using?
The authlib/preauthvchkpw.c file is worth checking against the one on the inter7 page. Mysql Quits can be caused by a program not calling mysql_close before exiting. Which in of itself would not cause an authentication failure. It's worth double checking your courier-imap configuration file. The one that specifies max client connections. The vpopmail ChangeLog shows the change to the email parser function and also reports that it fixed all known problems. To really track down the problem, lots of debugging output is needed to isolate what is ocurring. Hopefully leading to a solution :) Ken Jones On Friday 20 September 2002 04:20 pm, [EMAIL PROTECTED] wrote: > I upgraded to 5.3.8 - and am still seeing this behavior. > > *sigh* > > Is this limited to Courier? > > Quoting Dzuy Nguyen <[EMAIL PROTECTED]>: > > There is a bug in vpopmail's email parser function which adds extra > > character to the end of user login > > at times, when called by courier. Version 5.3.x has a newer email > > parser which seems to work. > > > > [EMAIL PROTECTED] wrote: > > >I am seeing strange behaviour on my Qmail+VpopMail(w/ MySQL)+COurier > > > setup. > > > > > >Authenticating via IMAP works 90% of the time, but doesn't for 10%. I > > > > don't > > > > >seem to be able to find any pattern as to it not working - it doesn't > > >consistently fail in any particular manner. The problem happens with > > > > multiple > > > > >mail clients. > > > > > >This might be a courier related issue, if so, then please tell me. Here > > > is > > > > what > > > > >I see in the mysql logs, when I try to log in to an account with a login > > > of > > > > doug > > > > >(actually, it this using a webmail client, so the login is > > >[EMAIL PROTECTED]): > > > > > > 540747 Query select pw_name, pw_passwd, pw_uid, pw_gid, > > > pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = "doug" and > > > pw_domain = "innerworldscuba.com" > > > 540747 Quit > > >020915 4:36:10 540748 Connect qmail@localhost on vpopmail > > > 540748 Query select pw_name, pw_passwd, pw_uid, > > > > pw_gid, > > > > >pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = "doug" and > > > > pw_domain = > > > > >"innerworldscuba.com" > > > > > >..all looks good..... I show failed logins like this: > > > > > >020917 12:56:28 590250 Query select pw_name, pw_passwd, pw_uid, > > > > pw_gid, > > > > >pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = "dougs" and > > > > pw_domain = > > > > >"innerworldscuba.com" > > > 590250 Quit > > >020917 12:56:33 590251 Query select pw_name, pw_passwd, pw_uid, > > > > pw_gid, > > > > >pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = "dougs" and > > > > pw_domain = > > > > >"innerworldscuba.com" > > > 590251 Quit > > >020917 12:56:38 590252 Query select pw_name, pw_passwd, pw_uid, > > > > pw_gid, > > > > >pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = "dougs" and > > > > pw_domain = > > > > >"innerworldscuba.com" > > > 590252 Quit > > >020917 12:57:03 590253 Query select pw_name, pw_passwd, pw_uid, > > > > pw_gid, > > > > >pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = "dougs" and > > > > pw_domain = > > > > >"innerworldscuba.com" > > > 590253 Quit > > > > > >-or-020917 13:20:01 590609 Query select pw_name, pw_passwd, > > > pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name > > > = "dougu" > > > > and > > > > >pw_domain = "innerworldscuba.com" > > > 590609 Quit > > >020917 13:20:06 590641 Query select pw_name, pw_passwd, pw_uid, > > > > pw_gid, > > > > >pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = "dougu" and > > > > pw_domain = > > > > >"innerworldscuba.com" > > > 590641 Quit > > > > > >-or- > > > > > >020916 10:09:48 564000 Query select pw_name, pw_passwd, pw_uid, > > > > pw_gid, > > > > >pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = "dougt" and > > > > pw_domain = > > > > >"innerworldscuba.com" > > > 564000 Quit > > > > > > > > >....so it appears that the piece that parses the login isn't doing what > > > it > > > > is > > > > >supposed too. Is this vchpw.. or is this something else? > > > > > >Courier is compiled with "--enable-workarounds-for-imap-client-bugs" if > > > > that > > > > >matters. > > > > > >Anyone else seen this? Is this a know issue at all? > > > > > >Thanks in advance for the help.. > > > > > >-Brendan > > > > > > > > > > > > > > > > > >------------------------------------- > > >Webmail Services Provided by KPG Inc. > > >(http://www.kpginc.com) > > ------------------------------------- > Webmail Services Provided by KPG Inc. > (http://www.kpginc.com)