SA Bugzilla – Bug 7366
Further tests for message claiming to be but isn't
Last modified: 2020-01-14 22:42:48 UTC
Created attachment 5417 [details] Supposedly 7bit message with ISO-8859-1 characters in it This is a follow-on to bug 7063, for the degenerate case of a non-multipart message. Attaching a rule to catch this, plus a message we received that corresponds to this rule.
Created attachment 5418 [details] Rule to match text/plain message w/ 7bit CTE and 8bit bodies
Testing this in my sandbox area of the ruleqa masscheckers.
Does the issue already fixed? any current update? Thanks! Castro B, https://w.gratisdatingsite.nl/
Ruleqa looks ok for L_8BIT_MISMATCH, though my corpus is full of FPs for it - mostly from one specific automatic ordering system, but many other automatic messages too. Is Dave alive? You should publish it.. maybe limit score to 2 or so..
Publishing as CTE_8BIT_MISMATCH Sending rulesrc/sandbox/davej/20_non_ascii.cf Transmitting file data .done Committing transaction... Committed revision 1872783.
(In reply to Henrik Krohns from comment #5) > Publishing as CTE_8BIT_MISMATCH The scored rule was renamed but __L_CTE_7BIT, __L_CTE_8BIT and __L_BODY_8BITS are left. I'm guessing that L stands for local, and I think it would be a good idea to make it policy that L_ is reserved for local rules.
(In reply to RW from comment #6) > > I'm guessing that L stands for local, and I think it would be a good idea to > make it policy that L_ is reserved for local rules. Documentation only specifies T_. I really couldn't bother, no one even sees those.
It's not about anyone seeing them, it's about avoiding name collisions between the core rules and local rules. At the moment there's no standard way of doing this. Someone people use long prefixes, but these reduce readability and bloat meta-rules. And there's no guarantee that someone wont pick the same prefix and contribute their rules to core. L_ seems like the ideal candidate for a reserved prefix.
(In reply to RW from comment #8) > It's not about anyone seeing them, it's about avoiding name collisions > between the core rules and local rules. At the moment there's no standard > way of doing this. Someone people use long prefixes, but these reduce > readability and bloat meta-rules. And there's no guarantee that someone wont > pick the same prefix and contribute their rules to core. > > L_ seems like the ideal candidate for a reserved prefix. Along with __L_ for subrules. +1 from me. We can even add build tooling to ensure none such ever get added to the base rules.