docker icon indicating copy to clipboard operation
docker copied to clipboard

regex in rules not possible

Open PaddyPat opened this issue 9 months ago • 0 comments

Support guidelines

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

  • [x] ... the documentation does not mention anything about my problem
  • [x] ... 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 :-)

PaddyPat avatar Mar 17 '25 15:03 PaddyPat