Ticket #1486078 (closed Bugs: fixed)

Opened 12 months ago

Last modified 6 months ago

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

Changed 12 months ago by sascha

Sorry for bothering, I just noticed that the very problem has been addressed by the "sieverules" plugin, see http://www.roundcubeforum.net/api-based-plugins/4878-sieverules-managesieve-plugin.html#post18930.

Changed 12 months ago by duelli

Yeah, this works in the sieverules plugin. So why not just close this bug.

Changed 6 months ago by alec

  • status changed from new to closed
  • resolution set to fixed

Fixed in r3376.

Note: See TracTickets for help on using tickets.