[Dovecot] A Dovecot Sieve spam filter question.
Stephan Bosch
stephan at rename-it.nl
Thu Dec 31 02:35:24 EET 2009
aja-lists at tni.org wrote:
> On 12/30/2009 11:56 PM, aja-lists at tni.org wrote:
>
>> But this (2nd line is one long line) :
>>
>> require ["fileinto"];
>> if header :contains "X-Spam-Level"
>> "**************************************************" {
>> fileinto "Junk";
>> }
>>
>> simply delivers the gtube test email in the Inbox instead of the Junk
>> folder :( No errors in the dovecot-deliver log, what am I missing ?
>
> My mistake, my personal .dovecot.sieve was in the way.
> (Found this :
> http://workaround.org/ispmail/lenny/server-side-sieve-filtering#comment-215
> )
>
You can enforce global Sieve rules using the sieve_before setting:
http://wiki.dovecot.org/LDA/Sieve/Dovecot#multiscript
Regards,
Stephan.
More information about the dovecot
mailing list