[SURBL-Discuss] Re: Syntax error on line 1 near eval:

Jeff Chan jeffc at surbl.org
Mon Jul 26 17:12:05 CEST 2004


On Monday, July 26, 2004, 4:00:53 PM, David Groce wrote:
> I am cross posting, but I need to find an answer quick.  I finally removed
> my rpm installation of Spamassassin and installed via CPAN, which allowed me
> to install the SpamCopURI plugin as well.  When I run spamassssin --lint, I
> get an error on the SpamCopURI.cf
> Specifically:

> Failed to compile URI SpamAssassin tests, skipping:
>         (syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule
> SPAMCOP_URI_RBL, line 1, near "eval:"

> Any ideas why this might be?  I've also had problems with SpamAssassin
> itself since installed via CPAN, where I see these errors:

> Scalar found where operator expected at (eval 17) line 686, near "} $self"
>         (Missing operator before  $self?)
> Failed to run header SpamAssassin tests, skipping some: syntax error at
> (eval 17) line 686, near "} $self"

> Any guesses there?  Perhaps related to the SpamCopURI plugin?

Which version of SpamAssassin are you running?  SA 3 does not
need SpamCopURI or the eval.

Jeff C.



More information about the Discuss mailing list