[Dovecot] Possible to log IMAP connections to MySQL Table?

Corey Shaw cshaw at q90.com
Wed Dec 24 17:07:17 EET 2008


I'll take a look at the post login scripting.  It sounds like it would be much better than a script that simply tails the log file for any IMAP connections.  Thanks for the help! 



Corey 

----- Original Message ----- 
From: "Pascal Volk" <user+dovecot at localhost.localdomain.org> 
To: "Dovecot Mailing List" <dovecot at dovecot.org> 
Sent: Wednesday, December 24, 2008 1:43:51 AM GMT -07:00 US/Canada Mountain 
Subject: Re: [Dovecot] Possible to log IMAP connections to MySQL Table? 

Am 23.12.2008 21:50 schrieb Corey Shaw: 
> Is it currently possible to log all IMAP connection attempts to a MySQL table?  Thanks. 

If you really want to log _all_ IMAP connections you could create a 
MySQL procedure that will log all interesting data you provide and 
finally returns the data for Dovecots password query. 
If you want to log only successful IMAP logins you should have a look at 
http://wiki.dovecot.org/PostLoginScripting 


Regards, 
Pascal 
-- 
Ubuntu is an ancient African word meaning “I can’t install debian.” 
                                                         -- unknown 


More information about the dovecot mailing list