On Wed, 5 Feb 2003, Oden Eriksson wrote:
>Hi.
>What are the plans/status for successfully running bincimap with vpopmail as 
>authenticator?
>I tried and failed, then I read the FAQ :)

Hi, Oden. It should have worked, but this artifact in 
bincimap-auth-checkpassword prevents it from happening. The patch 
will be included in the next release.

Andy

diff -u -r1.5 bincimap-auth-checkpassword.cc
--- bincimap-auth-checkpassword.cc      2 Feb 2003 16:20:31 -0000       
1.5
+++ bincimap-auth-checkpassword.cc      6 Feb 2003 06:17:53 -0000
@@ -78,14 +78,6 @@
   if ((c = getenv("BINC_PASSWD")) != NULL) passwd = c;
   else exit_error();

-  struct passwd * pw = getpwnam(userID.c_str());
-  if (pw == NULL) {
-    if (errno == ENOMEM)
-      exit_error();
-    else
-      return EXITFAILED; // no such user
-  }
-
   // The information supplied on descriptor 3 is a login name
   // terminated by \0, a password terminated by \0, a timestamp
   // terminated by \0, and possibly more data. There are no other

Reply via email to