G'day all, I am a recent convert to courier-imap having used the modified
in.pop3d with maildir support (qmail-imap-4.1.final-1.i386.rpm) for several
years.

I have installed courier-imap and VMailMgr without problems on a RH6.2 box
from source code and all is running well it seems. POP mail is fast and
seemingly reliable and customers are happy.

I would really like to get a bit more detail from the log entries so I can
track data transfer volume (per domain).

I use the standard startup script that runs pop3d and pop3login from
couriertcpd. This uses /usr/lib/courier-imap/libexec/logger as the
stderrlogger.

I use a separate UNIX account for each domain and then set-up virtual POP
maildirs using vmailmgr. The courier log entries look like this:-

Connection, ip=[::ffff:203.134.96.226]
LOGIN, user=peter, ip=[::ffff:203.134.96.226]
LOGOUT, user=peter, ip=[::ffff:203.134.96.226], top=0, retr=44109

This is good that it give bytes retrieved but the virtual user name could be
in several domains (and thus several Unix accounts).

Is there any way to add the Unix uid or username or domainname to the logs?
I had a bit of a squiz at the source code and the authvmailmgr seems to
handle the uid/gid and pass them to authsuccess() OK.

I already do a uid to username translation during the massaging of qmail
logs at rotation time so I can process the info with webalizer. It's either
log POP3 or add appropriate logging in to vdeliver (vmailmgr).

Thanks for your time.
Graham Miller
Senior Network Engineer
Graham Miller Computer Services
Kenilworth, Qld Australia
www.gmcs.com.au



_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to