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 ?
Regards Rob
-- This message has been scanned for viruses and other dangerous content by MailScanner, and is believed to be clean.
Rob Kettle wrote:
I'm trying to use pop-before-smtp with Dovecot IMAP (not running pop3).
I can't help you with that, sorry, but it might be worth pointing out that pop-before-smtp is generally a rather ugly kludge.
Before I got comfortable with SMTP AUTH I had set up a dynamic DNS service which also updated /etc/hosts for clients who needed to relay. The hosts entry overrode the rDNS in my MTA, and so I could allow relay based on the hostname *.mydomain.
That's an uglier kludge in some ways ... such as that it doesn't take place seamlessly in the MUA. But I'd suggest that you look at setting up SMTP AUTH, which is well supported in most MUA's.
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
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");
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.
participants (3)
-
/dev/rob0
-
Rob Kettle
-
Timo Sirainen