You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Robert - elists <li...@abbacomm.net> on 2008/06/25 23:19:48 UTC

perl error on TVD_STOCK1 after 3.2.5 update

Is anyone else currently seeing this since 3.2.5 upgrade?

We updated when it came out and have only seen the error a few times
since...

Centos 4.6 and perl 5.8.8 and SA 3.2.5 with sought rules and compiled


Jun 25 09:22:57 mxi spamd[18530]: rules: failed to run TVD_STOCK1 test,
skipping:
Jun 25 09:22:57 mxi spamd[18530]:  (Malformed UTF-8 character (fatal) at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/BodyEval.pm line
243.
Jun 25 09:22:57 mxi spamd[18530]: )

I checked in the rules area and it shows up under 72_active.cf

##{ TVD_STOCK1

ifplugin Mail::SpamAssassin::Plugin::BodyEval
body TVD_STOCK1    eval:check_stock_info('2')
endif
##} TVD_STOCK1

Im not sure where to go from here...

What should I be looking for in a fix other than to comment the rule out in
some way or some other option(s) ???

Thanks

 - rh


RE: perl error on TVD_STOCK1 after 3.2.5 update

Posted by Robert - elists <li...@abbacomm.net>.
Please forgive me for top post and replying to my own, yet I forgot to add
the code from line 243 in the BodyEval.pm file

  foreach ( $rnd =~ /^\s*([^:\s][^:\n]{2,29})\s*:\s*\S/mg ) {

:-)

 - rh

> 
> Is anyone else currently seeing this since 3.2.5 upgrade?
> 
> We updated when it came out and have only seen the error a few times
> since...
> 
> Centos 4.6 and perl 5.8.8 and SA 3.2.5 with sought rules and compiled
> 
> 
> Jun 25 09:22:57 mxi spamd[18530]: rules: failed to run TVD_STOCK1 test,
> skipping:
> Jun 25 09:22:57 mxi spamd[18530]:  (Malformed UTF-8 character (fatal) at
> /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/BodyEval.pm line
> 243.
> Jun 25 09:22:57 mxi spamd[18530]: )
> 
> I checked in the rules area and it shows up under 72_active.cf
> 
> ##{ TVD_STOCK1
> 
> ifplugin Mail::SpamAssassin::Plugin::BodyEval
> body TVD_STOCK1    eval:check_stock_info('2')
> endif
> ##} TVD_STOCK1
> 
> Im not sure where to go from here...
> 
> What should I be looking for in a fix other than to comment the rule out
> in
> some way or some other option(s) ???
> 
> Thanks
> 
>  - rh