Hi,

I found a solution following Alexei Batyr's Patch (in his Posting from 
2002-10-30, "Re: [courier-users] Re: Enhanced logging - failed POP3 logins"


[saenger@ps1 authlib]$ diff authmoduser2.c.orig authmoduser2.c
95c95,96
<         auth_debug_login(0, "LOGIN FAILED%s%s",p?", user=":"", p?p:"");
---
>         char    *qp = getenv("PASS");
>         auth_debug_login(0, "LOGIN FAILED%s%s%s%s",p?", user=":"", p?p:"", 
qp?", pass=":"", qp?qp:"");
[saenger@ps1 authlib]$ diff authmoduser3.c.orig authmoduser3.c
21a22,26
> // begin peters
> char    *q=malloc(sizeof("UID=")+strlen(userid));
> char    *qp=malloc(sizeof("PASS=")+strlen(userid));
> // end peters
>
25c30,33
<       if (!p)
---
>       // begin peters
>       //      if (!p)
>       if (!p || !q || !qp)
>         // end peters
30a39,46
>
>       // begin peters
>       strcat(strcpy(q, "UID="), userid);
>       putenv(q);
>       strcat(strcpy(qp, "PASS="), passwd);
>       putenv(qp);
>       // end peters
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to