26 Apr
2004
26 Apr
'04
1:50 a.m.
On Thu, 2004-03-18 at 15:06, Eric S. Johansson wrote:
the best place would be a place for I have all of the necessary information about the user and is a mainline pass through the code so it will always be executed. If you do this right, it could be a plug-in point for pre access functionality. There is probably some equivalent location for post access. Might be an interesting place to put in plug-in infrastructure so we can do all sorts of things to people's e-mail.
It's already possible. Use http://dovecot.org/patches/quota.c as base, but instead of overriding the storage functions, just call fetchmail in quota_mail_storage_created(). Same plugin would work for both POP3 and IMAP.