Ticket #1486078 (closed Bugs: fixed)
managesieve does not allow more than one match
| Reported by: | sascha | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.4-beta |
| Component: | Plugins | Version: | 0.3-rc1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Currently, all sieve rules are created as
if ... action elsif ... vacation elsif ... action
Now, if one wants to enable a "vacation" rule like in the example above, this would prevent any other rules from ever being tested. The result is: vacation message is send, but all mails end up in the INBOX, no matter if a matching rule exist.
IMO, it would be better (and more flexible for advanced users) if the rules would be written as
if ... ; action; "stop" if ...; vacation if ... ; action; "stop"
where the "stop" should be optional, but the default for every new rule. IIRC, something like this is done in the "avelsieve" plugin for squirrelmail, presented as a checkbox.
Change History
Note: See
TracTickets for help on using
tickets.
