[Dovecot] Using global und per-user sieve scripts at the same time

Matthias Kellermann
Mon, 26 Nov 2007 15:55:18 -0000

Timo Sirainen schrieb:
> On Mon, 2007-11-26 at 14:50 +0100, Matthias Kellermann wrote:
>> If a user creates his own .dovecot.sieve file the global script will
not
>> work anymore.
>>
>> How can I enable global and local per-user sieve scripts at once? Is
>> this possible?
>
> Unfortunately not. Sieve plugin v1.1 (requires Dovecot v1.1) supports
> include extension, so in per-user scripts they could include the global
> script. It should probably be somewhat easy to do this including
> automatically.

It's Dovecot 1.07 on FreeBSD. So there is no include option. So I will
write a little script which will copy a template sieve file in each
users home directory on/after creation.

> (Actually I'm hoping to offload Sieve development to Stephan Bosch and
> his completely rewritten Sieve code. I don't know when it's going
to be
> in a usable state though. And I hope the code's existence wasn't a
> secret.. :)

Is that sieve implementation better than the current one (fork of Cyrus
sieve implementation if I remember correctly)?

Matthias