On Tue, Apr 04, 2006 at 10:27:06AM +0100, Brian Candler wrote: > On Mon, Apr 03, 2006 at 10:37:09AM +0200, Pierre DAVID wrote: > > Our dream would be to have a record somewhere of active connexions > > with the user login, the protocol and the start-time. > > Each imapd and pop3d process is completely standalone, and does not post > this information to any sort of shared database. At the moment, I think > parsing logfiles is your only option without modifying code. You can of > course replace courierlogger with your own program which parses the log > lines as well as, or instead of, sending to syslog. But ideally you'd want > to capture the case when a pop3d or imapd child dies, and use this to > trigger removal of the corresponding line from the database. >
This may be an heavy system. > > > However, a > > "setproctitle()" with the user login would be nice. > > You can insert that in the relevant parts of the code pretty easily, for > example in imap/imapd.c and imap/pop3dserver.c where you find the "INFO: > LOGIN," message printed. > We will investigate this. Many thanks for your greatly appreciated help, as always. Pierre ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
