Bug 4174

Summary: Preceding filter with 'stop' action for one account prevents action 'ignore' for all other accounts
Product: Claws Mail (GTK 2) Reporter: George <removed-gdpr>
Component: FilteringAssignee: users
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Version: 3.17.4   
Hardware: PC   
OS: Linux   

Description George 2019-03-13 14:19:31 UTC
STR:

1. Have 2 or more IMAP accounts
2. Have first filter:

enabled rulename "No filtering for Account 1" account 1 all stop

3. Have a filter after the first one:
enabled rulename "Ignore messages for all other accounts" all ignore

4. Tools -> Filter all messages in folder -> ... regardless of the account they belong to.

Expected:

The second filter should work.

Actual:

The second filter does not ignore any messages. It works only after disabling the first filter.

All other filters (still below the first one) which do not ignore threads but do other things work fine.
Comment 1 George 2019-03-13 14:20:06 UTC
Tested in version 3.17.3git136
Comment 2 George 2019-03-13 14:21:43 UTC
Filters with 'watch' action also don't work (as step 3 from STR).
Comment 3 Paul 2019-03-13 15:17:14 UTC
it works for me.

Try enabling the filtering log, and see what it tells you, or attach it here to see what it tells us.
Comment 4 George 2019-03-13 22:21:13 UTC
Hm. It seems the critical point here is that I filter the messages with the option "regardless of the account they belong to" as explained in step 4. The the result is also as I explained.

If I run the filtering with "Apply these rules if they apply to current account" both filters work.

FWIW - I am testing this on an MH inbox.

Can you confirm if this is a bug or the way it is supposed to work?
Comment 5 Paul 2019-04-05 10:57:15 UTC
When you do:

4. Tools -> Filter all messages in folder -> ... regardless of the account they belong to.

All filtering is stopped by the first rule "all stop".