[Dovecot] dovecot global sieve script problem

Stephan Bosch stephan at rename-it.nl
Mon Jun 27 00:59:16 EEST 2011


On 6/26/2011 11:06 PM, Thomas Leuxner wrote:
>> So my question is, why does it not work with the global script? Any help would
>> be appreciated.
> Please note the caveats listed here: http://wiki.dovecot.org/LDA/Sieve/Dovecot
>
> […]
> sieve_global_path
> A path to a global sieve script file, which gets executed ONLY if user's private Sieve script doesn't exist, e.g. /var/lib/dovecot/default.sieve. Be sure to pre-compile this script manually using the sievec command line tool, as explained below.
>
> Did you manually compile the global script?

Actually, for the kind of behavior that you described you need to use 
the multiscript feature:

http://wiki.dovecot.org/LDA/Sieve/Dovecot#Executing_Multiple_Scripts_Sequentially

So, if you use sieve_before instead, it should work as required.

Regards,

Stephan.


More information about the dovecot mailing list