On Sun, 23 Dec 2018, Matus UHLAR - fantomas wrote:

While it doesn't directly answer your question about normalize-charset, this might work a little better:

 ifplugin Mail::SpamAssassin::Plugin::ReplaceTags
   body           LOCAL_JANO   /\bj<A>no?\b/i
   replace_rules  LOCAL_JANO
 endif

body            LOCAL_JANO      /\bj<A>no?\b/i
replace_rules   LOCAL_JANO

unfortunately, this doesn't work for Ján, only for Jano.

I find that odd.

Okay, review of the replacetags replacements shows that a lot of basic UTF8 codepoints are missing - I wasn't thorough enough the last time I added sequences.

Fixing (most of) the omissions...

That's better:

Dec 24 12:21:58.354 [11460] dbg: rules-all: running body rule LOCAL_JANO
Dec 24 12:21:58.355 [11460] dbg: rules: ran body rule LOCAL_JANO ======> got hit: 
"Ján"
Dec 24 12:21:58.355 [11460] dbg: rules: ran body rule LOCAL_JANO ======> got hit: 
"Jano"


--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  "Bother," said Pooh as he struggled with /etc/sendmail.cf, "it never
  does quite what I want. I wish Christopher Robin was here."
                                           -- Peter da Silva in a.s.r
-----------------------------------------------------------------------
 Tomorrow: Christmas

Reply via email to