That's great thanks. Is it possible to get the logout entry in the logs to show the IP address that logged out as well as the username ?
Regards Rob
Timo Sirainen wrote:
On Thu, 2005-06-09 at 21:05 +0100, Rob Kettle wrote:
Hi,
I'm trying to use pop-before-smtp with Dovecot IMAP (not running pop3). Pop-before-smtp has fixes to work with the fact that Thunderbird holds the Dovecot Imap connection open and therefore doesn't record regular 'login' entries in maillog.
Problem is that pop-before-smtp relies on Dovecot recording a disconnect in the maillog when an Imap client disconnects. Dovecot doesn't seem log disconnects. How can I get it to do this please ?
Modify src/imap/client.c function client_destroy(). Add there something like:
i_info("Logout");
-- This message has been scanned for viruses and other dangerous content by MailScanner, and is believed to be clean.