[#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 (67 days ago)
Due
Updated 04/16/2008 (25 days ago)
Assigned
Resolved
Attachments
Milestone
Patch

History
04/16/2008 Chuck Hagenbuch State ⇒ Accepted
 
03/20/2008 Jan Schneider State ⇒ Feedback
 
03/20/2008 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 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 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/05/2008 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/05/2008 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 gentz (at) equinux (dot) de Comment #1
Queue ⇒ Ingo
Summary ⇒ Ability to create raw sieve rules
Type ⇒ Enhancement
Priority ⇒ 2. Medium
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.