Skip to content

regex in rules not possible #329

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 [email protected] from [email protected]

If sender email does not match [email protected] -> block the email.

Why Regex?

Some users mail is [email protected], some [email protected]

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 :-)

Activity

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

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