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
FWIW,
the 'latest' perl URI package included with redhats (at least up to fedora core 1) is 1.21 and is NOT new enough.
Current version is 1.31... I have this working OK with 1.30 in several servers... the problem is that if you have it installed as an RPM package, it is somehow awkward to upgrade if there are no newer releases available as RPM packages for YOUR exact perl version/installation...
But if you are able to upgrade to URI 1.3x, this might help.
Regards.
On Thu, 8 Jul 2004 10:00:31 -0400 , Mitch Planck mitch@ias.net wrote:
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.