Nice try, but no banana...  :)

I cleared out the sare rules when I switched from RDJ to sa-update.

Both of these errors only show when I am trying to use the compiled
rules.  If I comment out the Rule2XSBody plugin, I don't see the errors.

Bowie


Randal, Phil wrote:
> My guess is that you have copies of the sare rules in both
> /var/lib/spamassassin/3.002001/ and /etc/mail/spamassassin.
> 
> Clear them out from the latter.
> 
> Cheers,
> 
> Phil
> 
> 
> > -----Original Message-----
> > From: Bowie Bailey [mailto:[EMAIL PROTECTED]
> > Sent: 07 August 2007 16:32
> > To: Spamassassin List (E-mail)
> > Subject: RE: Error after compiling rules
> > 
> > Bowie Bailey wrote:
> > > After running sa-compile and un-commenting the plugin, everything
> > > seems to be working.  There are no lint errors and it is scoring
> > > mail.  But when I look in the logs, I noticed some errors like
> > > this: 
> > > 
> > > Can't locate
> > Mail/SpamAssassin/CompiledRegexps/body_neg950.pm in @INC
> > > (@INC contains: /var/lib/spamassassin/compiled/3.002001
> > > /var/lib/spamassassin/compiled/3.002001/auto
> > > /var/lib/spamassassin/compiled/3.002001
> > > /var/lib/spamassassin/compiled/3.002001/auto ..
> > > /etc/mail/spamassassin lib
> > > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> > > /usr/lib/perl5/site_perl/5.8.5
> > > /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
> > > /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
> > > /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> > > /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
> > > /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
> > > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> > > /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3
> > > /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1
> > > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> > > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> > > /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-mul
> > > 
> > > I also get the same error for:
> > >     body_neg900.pm
> > >     body_900.pm
> > >     body_neg1000.pm
> > >     body_1000.pm
> > >     body_500.pm
> > >     body_neg400.pm
> > > 
> > > Is this a problem?  SA seems to be working.
> > 
> > I also just noticed the following messages in the maillog:
> > 
> > Subroutine DEAR_SOMETHING_one_line_body_test redefined at
> > /var/lib/spamassassin/3.002001/updates_spamassassin_org/20_phr
> > ases.cf, rule DEAR_SOMETHING, line 4.
> > Subroutine __DRUGS_ERECTILE_L_one_line_body_test redefined at
> > /var/lib/spamassassin/3.002001/updates_spamassassin_org/20_dru
> > gs.cf, rule __DRUGS_ERECTILE_L, line 6.
> > Subroutine SARE_OEM_NEW_TITLES_one_line_body_test redefined at
> > /var/lib/spamassassin/3.002001/70_sare_oem_cf_sare_sa-update_d
> > ostech_net/200 512271200.cf, rule SARE_OEM_NEW_TITLES, line 6.
> > Subroutine SARE_BETTERSEX_one_line_body_test redefined at
> > /var/lib/spamassassin/3.002001/70_sare_adult_cf_sare_sa-update
> > _dostech_net/2 00705210700.cf, rule SARE_BETTERSEX, line 6.
> > Subroutine FB_HOMELOAN_one_line_body_test redefined at
> > /var/lib/spamassassin/3.002001/updates_spamassassin_org/72_act
> > ive.cf, rule FB_HOMELOAN, line 6.
> > Subroutine SARE_EN_N_800_2_1_one_line_body_test redefined at
> > /var/lib/spamassassin/3.002001/70_sare_evilnum0_cf_sare_sa-upd
> > ate_dostech_ne t/200510052000.cf, rule SARE_EN_N_800_2_1, line 6.
> > Subroutine SARE_RMML_Stock26_one_line_body_test redefined at
> > /var/lib/spamassassin/3.002001/70_sare_stocks_cf_sare_sa-updat
> > e_dostech_net/ 200705062100.cf, rule SARE_RMML_Stock26, line 6.
> > 
> > This continues for 579 lines.  Is this due to compiling the rules? 
> > I don't see these errors when I run "spamassassin --lint".  The
> > only place
> > I see them is in the maillog file.

Reply via email to