New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIEVE filters: Support regex extension #1043

Closed
neuhaus opened this Issue May 24, 2016 · 2 comments

Comments

3 participants
@neuhaus

neuhaus commented May 24, 2016

Currently the SIEVE filters frontend does not support the creation of regex filters.

Both the very old Avelsieve plugin for Squirrelmail and Roundcube already support regex filters.

The current specification for the filters themselves is at https://tools.ietf.org/html/draft-ietf-sieve-regex-01

There are several Sieve implementations that support this extensions, including Cyrus Sieve and Pigeonhole for Dovecot.

Rationale:

In some cases, it is desirable to have a string matching mechanism
which is more powerful than a simple exact match, a substring match
or a glob-style wildcard match. The regular expression matching
mechanism defined in this draft should allow users to isolate just
about any string or address in a message header or envelope.

RainLoop added a commit that referenced this issue May 26, 2016

@RainLoop

This comment has been minimized.

Owner

RainLoop commented Jun 4, 2016

Available in the last version.

@RainLoop RainLoop closed this Jun 4, 2016

@zeigerpuppy

This comment has been minimized.

zeigerpuppy commented Nov 6, 2016

It may be good to have some help for the user here,
for instance when "regex" is selected, some common expressions could be shown in a dropdown.

eg: "match all", "match excluding"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment