Re: [Dovecot] A Dovecot Sieve spam filter question.

2009-12-31 Thread Thomas Harold
On 12/30/2009 5:56 PM, aja-li...@tni.org wrote: On 12/30/2009 10:08 PM, Andrzej Adam Filip wrote: As I understand ":contains" tests presence of the sub-string => so you can test 'at least n consecutive stars present' ('n stars OR more') Okay, thanks, after some searching I see that quite some

Re: [Dovecot] A Dovecot Sieve spam filter question.

2009-12-31 Thread Thomas Harold
On 12/30/2009 2:21 PM, aja-li...@tni.org wrote: Hi, 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 In general, it's better to quarantine high-scoring spam (we shove

Re: [Dovecot] A Dovecot Sieve spam filter question.

2009-12-30 Thread Stephan Bosch
aja-li...@tni.org wrote: On 12/30/2009 11:56 PM, aja-li...@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

Re: [Dovecot] A Dovecot Sieve spam filter question.

2009-12-30 Thread aja-lists
On 12/30/2009 11:56 PM, aja-li...@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 folde

Re: [Dovecot] A Dovecot Sieve spam filter question.

2009-12-30 Thread aja-lists
On 12/30/2009 10:08 PM, Andrzej Adam Filip wrote: As I understand ":contains" tests presence of the sub-string => so you can test 'at least n consecutive stars present' ('n stars OR more') Okay, thanks, after some searching I see that quite some people apparently have this working successull

Re: [Dovecot] A Dovecot Sieve spam filter question.

2009-12-30 Thread Stephan Bosch
aja-li...@tni.org wrote: And i've tried this also : http://pastebin.ca/1732221 Gross! :) Which fails with : Error: sieve: main_script: line 18: cannot nest tests deeper than 32 level > Tests should be delimited with a ',' within an anyof() expression if you really want to write something l

Re: [Dovecot] A Dovecot Sieve spam filter question.

2009-12-30 Thread Andrzej Adam Filip
"Kirill Miazine" wrote: > * aja-li...@tni.org [2009-12-30 21:41]: >> On 12/30/2009 08:30 PM, Andrzej Adam Filip wrote: >> > aja-li...@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-lev

Re: [Dovecot] A Dovecot Sieve spam filter question.

2009-12-30 Thread Andrzej Adam Filip
aja-li...@tni.org wrote: > On 12/30/2009 08:30 PM, Andrzej Adam Filip wrote: >> aja-li...@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 > ---

Re: [Dovecot] A Dovecot Sieve spam filter question.

2009-12-30 Thread Kirill Miazine
* aja-li...@tni.org [2009-12-30 21:41]: > On 12/30/2009 08:30 PM, Andrzej Adam Filip wrote: > > aja-li...@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 shoul

Re: [Dovecot] A Dovecot Sieve spam filter question.

2009-12-30 Thread aja-lists
On 12/30/2009 08:30 PM, Andrzej Adam Filip wrote: aja-li...@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 --- cut --- Try the following: if header :

Re: [Dovecot] A Dovecot Sieve spam filter question.

2009-12-30 Thread Andrzej Adam Filip
aja-li...@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 te

[Dovecot] A Dovecot Sieve spam filter question.

2009-12-30 Thread aja-lists
Hi, 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 sco