[Dovecot] triggering multiple actions on pop-3 request

Timo Sirainen tss at iki.fi
Mon Apr 26 01:50:40 EEST 2004


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20040426/e7cd476b/attachment.pgp


More information about the dovecot mailing list