[Dovecot] A Dovecot Sieve spam filter question.
Andrzej Adam Filip
anfi at onet.eu
Wed Dec 30 21:30:47 EET 2009
aja-lists at tni.org wrote:
> I'd like to make a filtering threshold for users to let them
> deal with spamassassin spam-level starred < 8 themselves,
> but spam-level starred higher than 8 should be discarded
>
>
> how can one do that with the "anyof" option ?
>
> the following doesn't work with a test email with "gtube",
> which scores > 999 :
>
> #
> require "fileinto";
> if header :matches "X-Spam-Level" "\*\*\*\*\*\*" {
> fileinto "discard";
> }
>
> and I think it would be nice to have not so many lines
> in the globalsieverc file.
Try the following:
if header :contains "X-Spam-Level" "*****" {
...
--
[pl>en: Andrew] Andrzej Adam Filip : anfi at onet.eu
Common sense is the collection of prejudices acquired by age eighteen.
-- Albert Einstein
More information about the dovecot
mailing list