Philip Hallstrom
2005-Sep-07 18:49 UTC
[Dovecot] More verbose logging of POP transactions?
Hi all - I'm brand new to dovecot (0.99.14 on freebsd 5) and am just playing with it a bit. POP works just fine, but the only thing that shows up in my logs is this: Sep 7 11:46:25 freebsd5 pop3-login: Login: philip [10.28.61.200] Thought maybe syslog was quietly eating things, but told dovecot to use it's own log file and it didn't improve. Is there a way to turn on more detailed logging about what the user did? Along the lines of what uw-imap's pop gives you in terms of number of messages available, downloaded, deleted, etc.? I'm also interested in how much was transferred size wise... If I mised it in the conf file just let me know, but I didn't see anything... Thanks! -philip
Philip Hallstrom wrote:> Is there a way to turn on more detailed logging about what the user did?Not with Dovecot 0.99.> Along the lines of what uw-imap's pop gives you in terms of number of > messages available, downloaded, deleted, etc.? I'm also interested in > how much was transferred size wise...Dovecot 1.0alpha series has user configurable logging options # POP3 logout format string: # %t - number of TOP commands # %T - number of bytes sent to client as a result of TOP command # %r - number of RETR commands # %R - number of bytes sent to client as a result of RETR command # %d - number of deleted messages # %m - number of messages (before deletion) # %s - mailbox size in bytes (before deletion) #pop3_logout_format = top=%t/%T, retr=%r/%R, del=%d/%m, size=%s -- Tomi Hakala