6.0.0-alpha10
5/14/25

[#6375] Ability to create raw sieve rules
Summary Ability to create raw sieve rules
Queue Ingo
Queue Version HEAD
Type Enhancement
State Accepted
Priority 2. Medium
Owners
Requester gentz (at) equinux (dot) de
Created 03/05/2008 (6279 days ago)
Due
Updated 04/29/2010 (5494 days ago)
Assigned
Resolved
Milestone
Patch No

History
04/29/2010 04:57:51 PM software-horde (at) interfasys (dot) co (dot) uk Comment #7 Reply to this comment
There are situations where a user would like to add custom rules that 
Ingo doesn't support (external rule inclusion, labels, colors, etc.,), 
but if he does it externally, then Ingo will erase everything the next 
time the user edits some rules using it.

So, it would be great if Ingo could:
1) leave custom changes alone.
2) allow script editing directly from the interface
04/16/2008 07:56:12 PM Chuck Hagenbuch State ⇒ Accepted
 
03/20/2008 12:13:27 PM Jan Schneider State ⇒ Feedback
 
03/20/2008 10:17:49 AM gentz (at) equinux (dot) de Comment #6 Reply to this comment
We have simple AND+OR rules like



if allof ( header :contains "Delivered-To" ["a@b.com","b@c.com"], 
anyof(header :contains ["Subject"] "abc", header :contains ["From"] 
"x@y.z")) {...}



or rules with sub-rules like



if header :contains ["to","cc","resent-to"] "c@d.com" {

         if header :contains ["subject"] "abc" {

                 fileinto "...";

                 stop;

         }

         if header :contains ["subject"] ["def","ghi"] {

                 fileinto "...";

                 stop;

         }

        if ...

}
03/11/2008 08:14:03 PM Matt Selsky Comment #5 Reply to this comment
Currently, we're using raw sieve scripts that we can't convert to
Ingo because some rules have AND and OR conditions mixed. However
we'd love to migrate smoothly to Ingo using the old rules as a raw
script.
Adding AND/OR conditions sounds like a desirable enhancement and maybe 
not too hard since we already have AND and OR rule types.  What sort 
of rules do you have like with AND/OR?
03/11/2008 07:23:51 PM gentz (at) equinux (dot) de Comment #4 Reply to this comment
Currently, we're using raw sieve scripts that we can't convert to Ingo 
because some rules have AND and OR conditions mixed. However we'd love 
to migrate smoothly to Ingo using the old rules as a raw script.
03/06/2008 03:50:36 AM Chuck Hagenbuch Comment #3 Reply to this comment
I could see some arguments for scripting defaults for people, or for 
allowing advanced users to access a sieve server that is otherwise 
locked down (and only accessible via ingo).
03/06/2008 12:45:50 AM Jan Schneider Comment #2
State ⇒ Rejected
Reply to this comment
The goal of Ingo is user-friendly filter frontend that abstracts from 
the filter scripting language. Users that can can write raw Sieve 
rules can upload them on the server too.
03/05/2008 10:54:05 AM gentz (at) equinux (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Enhancement
Summary ⇒ Ability to create raw sieve rules
Queue ⇒ Ingo
State ⇒ New
Reply to this comment
It would be great to have the option of creating a ingo rule that just 
accepts raw sieve syntax.

Otherwise, there is no possibility to switch current manual sieve 
rules to Ingo.



Furthermore it would allow complex rules that include both AND and OR 
conditions.

Saved Queries