[Dovecot] Run script before delivery

Timo Sirainen tss at iki.fi
Sun Jul 20 17:03:37 EEST 2008


On Fri, 2008-07-18 at 12:09 +0200, Juan Asensio Sánchez wrote:
> Hi
> 
> Is it possible to run one script before the "real" delivery of a
> message (with lda, or before the execution of the sieve scripts) but
> after the creation of necessary folders (Dovecot automatically creates
> the folders for virtual users)? I want to to this to manually create a
> fixed empty sieve script in each user home folder, so in the global
> sieve script include that personal script, because if personal script
> doesn't exists, global script is not executed, or am I wrong?

A plugin that hooks the deliver_mail function (like cmusieve plugin
does) would work.

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


More information about the dovecot mailing list