Opened 4 years ago

Closed 3 years ago

#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 (3)

comment:1 Changed 4 years 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.

comment:2 Changed 4 years ago by duelli

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

comment:3 Changed 3 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [98c489e9].

Note: See TracTickets for help on using tickets.