tags 495194 +patch thanks Hi,
in the attachement you find a patch to fix this bug. Maybe once more to explain what actually is wrong: You have a client which connects to the proxy, and the proxy connects to the mbox. On the mbox server you have only the IP of the proxyserver in the logfile and you have no association between username and IP. With this patch you can get this association from the proxy logfile. Please apply it :) Regards, Mario
diff -Naur courier-0.53.3/imap/imaplogin.c courier-0.53.3.new/imap/imaplogin.c --- courier-0.53.3/imap/imaplogin.c 2006-05-28 17:29:52.000000000 +0200 +++ courier-0.53.3.new/imap/imaplogin.c 2008-08-18 09:08:06.000000000 +0200 @@ -213,6 +213,7 @@ free(p); if (fd > 0) { + courier_safe_printf("INFO: LOGIN, ip=[%s], login=[%s]", getenv("TCPREMOTEIP"), ainfo->address); alarm(0); proxyloop(fd); exit(0); diff -Naur courier-0.53.3/imap/pop3login.c courier-0.53.3.new/imap/pop3login.c --- courier-0.53.3/imap/pop3login.c 2006-05-28 17:29:52.000000000 +0200 +++ courier-0.53.3.new/imap/pop3login.c 2008-08-18 09:09:03.000000000 +0200 @@ -196,6 +196,7 @@ free(p); if (fd > 0) { + courier_safe_printf("INFO: LOGIN, ip=[%s], login=[%s]", getenv("TCPREMOTEIP"), ainfo->address); alarm(0); proxyloop(fd); exit(0);