[Users] Filter is working as expected

Paul paul at claws-mail.org
Thu Oct 12 11:32:07 UTC 2023


On Thu, 12 Oct 2023 08:01:29 -0300
Marcio Andrey Oliveira <plicatibu at gmail.com> wrote: 

> Rules tested using the To field
> 1)  ~to matchcase "@example.com"
> It worked when there were only external emails in the To field.
> Examples:
>     To: regularjoe at gmail.com, somedude at gmail.com
>     To: regularjoe at gmail.com
> 
> Failed if any @example.com email was specified in the To field.
> Examples:
>     To: regularjoe at gmail.com, bwayne at example.com
>     To: bwayne at example.com, regularjoe at gmail.com
<snip>

Your definition of failure is skewed. @example.com is in those fields that
claim a failure on, therefore there is no failure. The rule is checking that
@example.com does not appear.

The filtering is working as expected.

with regards

Paul


More information about the Users mailing list