I've been trying to get SpamCopURI-0.18 working on my system and I've run into many problems. First I had to install LWP::UserAgent, which kept failing until I got everything it needed installed; after everything was installed I re-did the SpamCopURI-0.18 install.
All tests were "ok" but when I copy over the spamcopuri.cf file I get this from spam assassin:
Failed to parse line in SpamAssassin configuration, skipping: open_redirect_list_spamcop_uri xurl.us Failed to compile URI SpamAssassin tests, skipping: (syntax error at /etc/mail/spamassassin/spamcop_uri.cf, rule SPAMCOP_URI_RBL, line 1, near "eval:"
I tried searching the archive for support on this, but I only found one person posted this problem with no replies.
Can anyone shed some light onto this? I'm guessing I'm missing a PERL Module somewhere but I don't know which one.
Thanks, Steve
Hi Steve, Can you let us know what flavor Linux you are running, what version of perl & SA, and how you are trying to install? For example, I use FreeBSD, then use the ports collection for everything in that, but since it doesn't have SpamCopURI, I could either use the CPAN install or the standard download, make, make install, etc. I use the wrapper program amavisd-new as well with a postfix mail server, so I have to integrate my SA/SpamCop install into amavis and that gave me some headaches, but maybe an uninstall & reinstall of the latest version of SA, make sure other things are up to date too.
From the source, here are the needed modules in perl:
use URI; use URI::QueryParam; use URI::Escape use Text::Wrap (); use Mail::SpamAssassin::EvalTests; use Mail::SpamAssassin::SpamCopURI; use Mail::SpamAssassin::AutoWhitelist; use Mail::SpamAssassin::HTML; use Mail::SpamAssassin::Conf; use Mail::SpamAssassin::Received; use Mail::SpamAssassin::Util; use Mail::SpamAssassin::NetSet;
There may be others needed, but these are obviously needed.
Best regards, Mitch Planck ias.net