This is a forwarded message From: Daniel Patterson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Tuesday, April 13, 2004, 7:57:27 PM Subject: [SURBL-Discuss] Fix for the "syntax error at /etc/pamassassin/spamcop_uri.cf" errors
===8<==============Original message text=============== Hello all, This is a quick note to those who are getting the following errors under 2.63: Failed to compile URI SpamAssassin tests, skipping: ^I(syntax error at /etc/spamassassin/spamcop_uri.cf, rule SPAMCOP_URI_RBL, line 1, near "eval:" syntax error at /usr/share/spamassassin/20_uri_tests.cf, rule URI_OFFERS, line 175, near "; }" ) The cause of this error is the perl module loader path being set such that your new, shiny SpamCopURI classes are not replacing their original counterparts in the original SA distribution. I'm running Debian, and I noticed, in /usr/bin/spamassassin and /usr/sbin/spamd the following line: use lib '/usr/share/perl5'; The actual content of this line will vary depending on your system, but if you're experiencing the above error, this is the source of your troubles. To fix it, I add the following immedietly after the previous "use lib" line: use lib '/usr/share/perl5'; use lib '/usr/local/share/perl/5.8.3'; This prepends /usr/local/share/perl/5.8.3 to the module search path, which will make the newly installed Spamassassin modules be loaded in preference to those found elsewhere on your system. You could possibly also remove the "use lib" line altogether, but I haven't tried that. daniel _______________________________________________ Discuss mailing list [EMAIL PROTECTED] http://lists.surbl.org/mailman/listinfo/discuss ===8<===========End of original message text===========