[Users] Strange filter problem

Paul claws at thewildbeast.co.uk
Thu Sep 5 10:09:24 CET 2019


On Wed, 4 Sep 2019 21:52:07 +0300
mlist <mlist at riseup.net> wrote: 

> OK. My current rules are:

It all looks OK and that filtering is behaving correctly to me.

Rule one:
> enabled rulename "*** LIST - WATCH MINE" found_in_addressbook "From" in
> "addrbook-000004.xml" & found_in_addressbook "To" in "addrbook-000009.xml"
> watch

The log reports:
> message does not match

It does not match because you want the FROM to be in the address book 4 /and/
the TO to be in address book 9.

> address [ claws at thewildbeast.co.uk ] does NOT match
Therefore the 'watch' flag is not applied.

Rule two:
> enabled rulename "*** LIST - WATCH MINE" found_in_addressbook "From" in
> "addrbook-000004.xml" & found_in_addressbook "Cc" in "addrbook-000009.xml"
> watch

The log reports:
> message does not match
because
> address [ claws at thewildbeast.co.uk ] does NOT match

It does not match because the FROM is (still) not in address book 4, and
there is no Cc in the message header.

Together these first 2 rules do not add a 'watch' flag.

So for you third rule:
> enabled rulename "*** LIST - ignore NOT WATCHED" header "List-Id"
> regexpcase ".+" & ~watch_thread ignore

The log reports:
> message matches

It matches because the previous 2 rules failed to add the 'watch' flag, and
the List-Id matches.

Therefore 'ignore' is set, and this results in the 'read' flag being set too.

In summary, there is no problem with the filtering engine. The problem is in
your filtering rules, which are not the ones you want to achieve the end
result you desire.

with regards

Paul


More information about the Users mailing list