[Dovecot] Run script before delivery

Uldis Pakuls neko at it4u.lv
Fri Jul 18 15:33:26 EEST 2008


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?
>
> Thanks in advance.
>   
It is possible write wrapper script which is run instead of lda,  script 
does things you need and then calls lda.
All folders can be created with this script too.
Also it is possible to write plugin for lda doing same thing.

Uldis



More information about the dovecot mailing list