[Dovecot] Optional Sieve includes

Anders mail at flac.kalibalik.dk
Wed Feb 27 02:27:55 EET 2008


Anders wrote:
> I (think that I) want a global Sieve setup like this:
>
>   require ["include"];
>   include :global "spam.sieve";
>   include :personal "folders.sieve";
>   include :personal "vacation.sieve";
>   
Okay, no help for having an optional include. My fallback solution is to 
create the personal sieves as empty files, but how would I best do that? 
These are virtual users, so there is no /etc/skel to copy.

I was thinking about a post-login script, but sieves can run before 
anybody logs in. Is there a way to wrap the deliver LDA, to have it 
create these files just as the first mail arrives?


Anders.



More information about the dovecot mailing list