MozillaZine

Solved: msgFilterRuleshad mixed "AND" and "OR" in Filters

User Help for Mozilla Thunderbird
MacLingo

User avatar
 
Posts: 80
Joined: January 2nd, 2008, 8:46 pm
Location: Berkeley, CA

Post Posted February 21st, 2017, 8:57 pm

One of my filters wasn't working, so I looked at it in msgFilterRules.dat. It had rules mixed with "OR" and "AND" between them. The master filter condition was "Find Any", so I thought all should be "OR"s and changed them accordingly. It then worked correctly.

So how did I get them mixed. Does it mean that if I have picked "All Rules" that the ANDS are going in then, and if I switch to "Any Rule" the conjunction "OR" is used. It looks like that is how it works to me.

But I would expect that if I switched from one rule to another that all conjunctions should be changed to the appropriate one. Is this an error?

Thanks,
Mac
Last edited by MacLingo on March 3rd, 2017, 10:24 am, edited 1 time in total.
Mac Lingo
Berkeley, CA

DanRaisch
Moderator

User avatar
 
Posts: 117788
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted February 22nd, 2017, 5:18 am

Moving to Thunderbird Support?

wsmwk
 
Posts: 2393
Joined: December 7th, 2004, 6:52 am

Post Posted February 22nd, 2017, 12:08 pm

The odd are good that it was caused by the bug I reported a few months ago https://bugzilla.mozilla.org/show_bug.cgi?id=1312172 which will be fixed in version 52. But the fix does not repair already bad filter

Return to Thunderbird Support


Who is online

Users browsing this forum: Google [Bot] and 5 guests