Hi, is it possible to configure dovecot's logging so it logs stuff like "User x logged in from IP/Host y and had z new messages" like I'm used from qpopper? That immensely helps when debugging PEBKAC issues. Enabling auth_verbose isnt really helpfull since a failed login generates 4 lines, some even without a pid - so it's a bit hard guessing which log entry belongs to which login attempt or even writing a script which checks for those. Regards, Thomas
Any suggestions on what I can do to diagnose this problem? Thanks, Doug Mar 9 10:50:02 aurora dovecot: imap-login: Login: doug [127.0.0.1] Mar 9 10:50:04 aurora dovecot: IMAP(doug): Growing pool 'index_header_lookup_ctx' with: 1024 Mar 9 10:50:04 aurora last message repeated 3 times Mar 9 10:50:06 aurora dovecot: IMAP(doug): Growing pool 'maildir_uidlist_sync' with: 65536 Mar 9 10:50:06 aurora dovecot: IMAP(doug): Growing pool 'maildir_uidlist_sync' with: 131072 Mar 9 10:50:06 aurora dovecot: IMAP(doug): Growing pool 'maildir_uidlist_sync' with: 262144 Mar 9 10:50:06 aurora dovecot: IMAP(doug): Growing pool 'maildir_uidlist_sync' with: 524288 Mar 9 10:50:06 aurora dovecot: IMAP(doug): imap in malloc(): error: allocation failed Mar 9 10:50:06 aurora dovecot: child 28235 (imap) killed with signal 6
On Wed, 2005-03-09 at 11:11 +0100, Joebstl Thomas wrote:> is it possible to configure dovecot's logging so it logs stuff like > "User x logged in from IP/Host y and had z new messages" like I'm used > from qpopper? > That immensely helps when debugging PEBKAC issues.Not yet. You could change the code yourself though. pop3/client.c at the end of client_create() and/or beginning of client_destroy(). Put something like: i_info("message count = %u", client->messages_count); The IP can be set with dovecot-stable and 1.0-test releases from config file: mail_log_prefix = "%Us(%u,ip=%r): " -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050312/63d306e4/attachment-0001.bin>