Skip to content

regex in rules not possible #329

Open
@PaddyPat

Description

@PaddyPat

Support guidelines

I've found a bug and checked that ...

  • ... the documentation does not mention anything about my problem
  • ... there are no open or closed issues that are related to my problem

Description

Hi,

Would like to create a specific rule (in anonaddy /rules ):

Allow only mails to alias xyz@addy.io from user.name@gmail.com

If sender email does not match user.name@gmail.com -> block the email.

Why Regex?

Some users mail is User.namE@gmail.com, some User.Name@googlemail.com

When I tried it with

(?i)^user\.name@gmail\.com$

And

^user\.name@gmail\.com$

I received

=> the selected conditions 0 match is invalid.

(running latest AnonAddy self hosted)

Thanks for your help Br

Expected behaviour

regex should work as expected

Actual behaviour

hints for regex would help

Steps to reproduce

.

Docker info

.

Docker Compose config

.

Logs

.

Additional info

thanks :-)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions