[Dovecot] trying to make cmusieve happen globally

Phil Howard ttiphil at gmail.com
Wed Dec 22 20:17:56 EET 2010

On Wed, Dec 22, 2010 at 13:12, Stephan Bosch <stephan at rename-it.nl> wrote:
> Op 22-12-2010 17:46, Anton Dollmaier schreef:

>>> plugin {
>>>         sieve_global_path = /etc/dovecot/sieve-global.d/spam.sieve
>> Use "sieve_before", which is not documented in the wiki.
> Eh.. no. CMUSieve does not have multiscript support, so sieve_before is not
> available.
>> Only this way the sievescript really gets executed.
> The global default is not executed when the user has a script of his own,
> otherwise it is executed.

That sounds like a reasonable way to do it.

>> The global path requires a sieve script per home directory, including the
>> global file.
> You are confusing the sieve_global_dir and sieve_global_path settings. The
> first is used by include, the latter specifies the default script executed
> when the user has none. Maybe these settings should be named differently,
> probably naming the latter sieve_default.

Yeah, since it behaves as a default, that name would have made sense.
That, or a sequence of path names that may or may not have %u to test
for an available script, and stop at the first one found.

sieve_global_path should have the file name?  Should it be the source
or the compiled sieve?  Does it need chmod +x ?

sHiFt HaPpEnS!

More information about the dovecot mailing list