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 5645.
Illegal octal digit '9' ignored at 
/usr/local/lib/perl5/site_perl/5.10.1/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm
 line 1083, <$fh> line 6449.
Illegal octal digit '9' ignored at 
/usr/local/lib/perl5/site_perl/5.10.1/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm
 line 1083, <$fh> line 7229.

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.  Is there a fix for 
this?

System info:
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


Reply via email to