You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by sp...@mail.designmedia.com on 2004/07/16 23:36:39 UTC

SURBL problem resolved...

So I was having problems with the following whenever I lint'ed SA 2.63 
after installing SURBL.

>> >debug: uri tests: Done uriRE    
>> >Failed to compile URI SpamAssassin tests, skipping:
>> >(syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule   
>> >SPAMCOP_URI_RBL, line 1, near "eval:"
>> >syntax error at /etc/mail/spamassassin/bigevil.cf, rule 
>> >BigEvilList_23, line 
>> >1038, near ";
>> >}"

The problem was that even though the install copied all the files over to 
"/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/" and the command "perl 
-MMail::SpamAssassin::PerMsgStatus -e 'print 
$INC{"Mail/SpamAssassin/PerMsgStatus.pm"},"\n"'" returned 
"/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm", my 
copy of SA 2.63 was actually using the pm files in 
"/usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/" instead.

Once I copied over the pm files to the 5.8.1 directory instead, linting 
SA 2.63 was successful and I was getting the markups I expected.

This 5.8.1 vs. 5.8.3 issue was also causing other errors as SA 2.63 
wasn't looking in the right directory for URI (so was using an older copy of 
URI).  How do I update SA 2.63 to look in 
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/ instead of the default 
/usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/?

Thanks.

--Henry