--M. Jolic wrote on 02.07.2002 15:44 +0200:

> So, [EMAIL PROTECTED] is transmitted and via the authvmailmgr authenticated
> as mentioned on www.inter7.com (->free software->courier-imap).
> 
> Maybe this could be a solution:
> 
> In imapd.c:
> 
> SetENV("DAMNEDVIRTUALUSER")=user;
> 
> and further on where the code will log through syslog:
> 
> fprintf(stderr, "INFO: LOGIN, user=%s, ip=[%s]\n",
> getenv("DAMNEDVIRTUALUSER"), ip);
> 
> Is this possible?

courier logs whatever the auth-module puts into $AUTHENTICATED:

fprintf(stderr, "INFO: LOGOUT, user=%s, ip=[%s],"
    " headers=%lu, body=%lu\n",
        getenv("AUTHENTICATED"), getenv("TCPREMOTEIP"),


Use one of the auth-module which comes with courier, or fix
vmailmgr (which also has a couple of other problems reported).

Roland



-------------------------------------------------------
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