| Summary | Filter-Rules-Enhancements |
| Queue | Ingo |
| Queue Version | Git master |
| Type | Enhancement |
| State | Accepted |
| Priority | 1. Low |
| Owners | |
| Requester | martin.tessun (at) die-tessuns (dot) de |
| Created | 02/15/2013 (4634 days ago) |
| Due | |
| Updated | 02/21/2013 (4628 days ago) |
| Assigned | |
| Resolved | |
| Milestone | |
| Patch | No |
# First do the Spam-stuff
if not header :contains "X-Spam-score" "-" {
if header :value "ge" :comparator "i;ascii-numeric"
["X-Spam-score"] ["5"] {
setflag "Junk";
if header :value "ge" :comparator "i;ascii-numeric"
["X-Spam-score"] ["20"] {
# Do not keep
discard;
}
elsif header :value "ge" :comparator "i;ascii-numeric"
["X-Spam-score"] ["10"] {
fileinto "Junk";
}
else {
fileinto "Junk.maybeJunk";
}
stop;
}
}
State ⇒ Accepted
|-> Recipient mailinglist@example.com
|---> fileinto "My Mailinglist"
|---> Sender "Me"
|------> flag \\Seen
that only apply if an earlier rule applied too? This is pretty complex
to implement, code-wise and ui-wise. Since you can already do this by
creating duplicate criteria for different rules, and since this is a
really advanced and properly rarely used feature, I'd rather not spent
so much time on this.
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Ingo
Summary ⇒ Filter-Rules-Enhancements
Type ⇒ Enhancement
State ⇒ New
sieve-filters; don't know whether this is applicable to other filters
as well):
1. Add some more flags, mainly the widely used "Junk"-flag is missing
2. Do a "group-hierarchy". This is meant (example for a Mailing-List)
|-> Recipient mailinglist@example.com
|---> fileinto "My Mailinglist"
|---> Sender "Me"
|------> flag \\Seen
This is bringing rules in a more logic order (of course this is
possible now as well, but you cannot really "see" what rules belong
together.
Regards,
Martin