[Tickets #12964] Default Spam filter rule doesn't work with Sieve
noreply at bugs.horde.org
noreply at bugs.horde.org
Mon Feb 10 16:15:58 UTC 2014
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12964
------------------------------------------------------------------------------
Ticket | 12964
Created By | matti at rantakomi.fi
Summary | Default Spam filter rule doesn't work with Sieve
Queue | Ingo
Version | 3.1.3
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
matti at rantakomi.fi (2014-02-10 16:15) wrote:
Default rule "Spam filter" with options doesn't produce valid Sieve script.
Steps to reproduce:
1) Configure Ingo to use Sieve backend.
2) Try to Save and Activate Spam filter rule
Ingo outputs error message:
Script not updated: There was an error activating the script. The
driver said: ingo: line 10: error: unknown test 'No' (only reported
once at first occurence). ingo: error: validation failed.
----
Lines 9-13 produced on spam filter activation:
9: # Spam Filter
10: if No strings specified {
11: fileinto "Spam";
12: stop;
13: }
As you can see there is "No strings specified" so the generated rule
is invalid and thus cannot work. I suppose that correct Sieve rule my
should be something like this:
9: # Spam Filter
10: if allof ( not header :comparator "i;ascii-casemap" :contains
"X-Spam-Score" "-", header :value "gt" :comparator "i;ascii-numeric"
"X-Spam-Score" ["5"] ) {
11: fileinto "Spam";
12: stop;
13: }
More information about the bugs
mailing list