Bonjour a Tous, I would like to generate (on the fly) a list "popbeforesmtp" when dovecot POP/IMAP authentication succeed. Intended Format will/should be such as: 'timestamp_in_second' user_id remote_ip one user per line. My guess we have all the needed information within dovecot to make such list. But I have seen no way to 'trick' dovecot (dovecot-1.0.alpha3) to do it... Could someone on the list able to give me some advices? I know there is Perl script to scan maillog file and extract information from collected data, but this seem to me 'a kind of the very last option'.... May be the trick can be achieved using 'executable' function? Ideally I'll like to have an entry in dovecot.conf, like... popbeforesmtp=/somewhere/in/the/tree A bientot -- =========================================================================Jean-Marc Pigeon Internet: Jean-Marc.Pigeon at safe.ca SAFE Inc. Phone: (514) 493-4280 Fax: (514) 493-1946 REGULUS, a real time accounting/billing package for ISP REGULUS' Home base <"http://www.regulus.safe.ca"> ==========================================================================
Jean-Marc Pigeon wrote:> I would like to generate (on the fly) a list "popbeforesmtp" > when dovecot POP/IMAP authentication succeed.You should really be using AUTH SMTP, which all modern mail clients and SMTP servers support and which obviates the need for such hackery... John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
On Wed, Dec 07, 2005 at 11:57:06AM -0500, Jean-Marc Pigeon wrote:> Bonjour a Tous, > > I know there is Perl script to scan maillog file and > extract information from collected data, but this > seem to me 'a kind of the very last option'.... > > May be the trick can be achieved using 'executable' function?Have you checked the Wiki? http://wiki.dovecot.org/moin.cgi/PopBSMTPAndDovecot There's a script that's used for SQL that whould be trivial to do whatever you like with. HTH