tonix (Antonio Nati) wrote:
So the problem is not inside chkusr, but inside the vpopmail library.
Simply put the vpopmail library does not distinguish between 'no such user' and 'cant open database'.
This is a known problem, that will be resolved as vpopmail will integrate such checks (I've been told these checks on DB connects are going to be put inside vpopmail CVS).
It definitely is in HEAD of the SourceFORGE CVS. It is well tested with CDB, and lightly tested with MySQL. There are functions that at least vpopmaild requires that are not included in any other authentication module.
I'm preparing chkuser 2.0, that will integrate all these changes, and will improve a lot of other things.
I don't have a lot of time right now, but I promise if you find any bugs in HEAD with one of the tested authentication modules I'll get them fixed quickly. There may be one other person testing. If things seem to work maybe we can get the code released sooner.