6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/9/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12964] Default Spam filter rule doesn't work with Sieve
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..__ .__.. ..__ | |[__)| || |[ __ |__\[__)|__||/\|[_./
Comment
> 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: }
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers