19 Aug
2005
19 Aug
'05
6:26 p.m.
On Fri, 2005-08-19 at 16:59 +0200, Lorens wrote:
Wouldn't it be quite trivial to make dovecot write to an SQL table upon sucessful login, instead of all this log file parsing by an additional daemon?
If you use sql userdb, you can just add the insert command into the user_query. Although that doesn't work if Dovecot LDA is used, since it also calls user_query when delivering mails. I've in TODO that there should be a separate post_login command.
Another way that already works is to update mail_executable location to some script which does the SQL insertion and after that executes the real imap or pop3 binary.