atom feed15 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: courier-imap ...
FromSent OnAttachments
Alfredo MartinoJul 2, 2002 2:41 am 
Bill MichellJul 2, 2002 3:06 am 
M. JolicJul 2, 2002 4:18 am 
M. JolicJul 2, 2002 5:56 am 
Sam VarshavchikJul 2, 2002 6:20 am 
M. JolicJul 2, 2002 6:55 am 
Roland SchneiderJul 2, 2002 7:39 am 
Sam VarshavchikJul 2, 2002 7:42 am 
M. JolicJul 2, 2002 8:15 am 
Toni MattilaJul 2, 2002 8:19 am 
Roland SchneiderJul 2, 2002 9:02 am 
Toni MattilaJul 2, 2002 9:38 am 
Leonard ChanJul 2, 2002 6:55 pm 
Binand Raj S.Jul 2, 2002 8:54 pm 
M. JolicJul 4, 2002 6:08 am 
Subject:Re: [courier-users] Re: courier-imap and virtual domains with vmailmgr & qmail...
From:Roland Schneider (list@serv.ch)
Date:Jul 2, 2002 7:39:43 am
List:net.sourceforge.lists.courier-users

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

So, use@domain.com 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