Skip to content

Managesieve: Relational match on current date is not supported (vacation) #10076

@alecpl

Description

@alecpl

Prerequisites

  • I have searched for duplicate or closed issues
  • I can recreate the issue with all plugins disabled

Describe the issue

When you create a vacation filter (in the Out of Office UI) with start and end date/time it results in:

if allof (currentdate :zone "+0100" :value "ge" "date" "2026-01-01", currentdate :zone "+0100" :value "le" "date" "2026-01-15")
{
    vacation...
}

If you then go to the Filters UI such filter is displayed as "contains" filter, which is wrong and if you press Save it will be replaced with something that is not the same.

So, we need to support relational operators (:value) for currentdate conditions. Also :zone will need some support.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions