https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6336
--- Comment #16 from Larry Rosenbaum <[email protected]> 2010-07-26 13:59:04 EDT --- (reposting from bug 6469) I'm seeing warnings like this when I run sa-compile: Illegal octal digit '9' ignored at /usr/local/lib/perl5/site_perl/5.10.1/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm line 1083, <$fh> line 5795. Illegal octal digit '9' ignored at /usr/local/lib/perl5/site_perl/5.10.1/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm line 1083, <$fh> line 6665. I've done some digging and it looks like the rule2xs() function is trying to parse stuff like this: r \2512009 microsoft | unsubscribe | more newsletters | privac:FB_SOFTTABS __FB_BCs __SEEK_YRQYH9,[l=1] __SUBSCRIPTION_INFO,[l=1] r copyright \2512009 by nacha - the electronic payments associ:LOTTO_AGENT,[l=1] T_LOTTO_DEPT,[l=1] __ATM_CARD,[l=1] __FEES,[l=1] __LOTTO_WIN_01,[l=1] __SEEK_VZ7OQ6,[l=1] __YOUR_FUND,[l=1] I think these are coming from lines like this: sought_rules_yerp_org/20_sought.cf:body __SEEK_YRQYH9 /\x{a9}2009 Microsoft \| Unsubscribe \| More Newsletters \| Privacy/ sought_rules_yerp_org/20_sought.cf:body __SEEK_VZ7OQ6 /Copyright \x{a9}2009 by NACHA - The Electronic Payments Association/ So the year occurs right after the octal escape code for the copyright symbol, and the fixup_re code is assuming the "2009" is part of the octal escape. I suspect this error prevents the rule from being used. The code being executed is $output .= '"'.chr(oct($esc)).'"'; For the string \2512009, it is trying to do oct() on the whole string. It should just be using the first three digits, and treating the rest as literal text. This error was observed on the following systems: SpamAssassin version 3.3.1 running on Perl version 5.10.1 SunOS email 5.9 Generic_118558-39 sun4u sparc SUNW,Sun-Fire-V210 and SunOS spam5 5.10 Generic_141444-09 sun4u sparc SUNW,Sun-Fire-V240 -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
