Hello!
I'm trying to install SpamCopURI veriosn 0.18 on my YellowDog Linux server. When I install a .cf file that calls it, I get the following messages from spamassassin --lint :
[root@merlin spamassassin]# spamassassin --lint Failed to compile URI SpamAssassin tests, skipping: (syntax error at /etc/mail/spamassassin/surbl.cf, rule WS_URI_RBL, line 1, near "eval:" syntax error at /etc/mail/spamassassin/bigevil.cf, rule BigEvilList_1614, line 11071, near "; }" )
I've installed the same version of SpamCopURI on a RedHat 7.3 server without any problems. I took the .cf file from that machine and it still fails. The .cf file looks like this :
uri WS_URI_RBL eval:check_spamcop_uri_rbl('ws.surbl.org','127.0.0.2') describe WS_URI_RBL URI's domain appears in sa-blacklist tflags WS_URI_RBL net
score WS_URI_RBL 3.0
Any thoughts ? I tried removing all my other .cf files and I still get ...
[root@merlin Mail-SpamAssassin-SpamCopURI-0.18]# spamassassin --lint Failed to compile URI SpamAssassin tests, skipping: (syntax error at /etc/mail/spamassassin/surbl.cf, rule WS_URI_RBL, line 1, near "eval:" syntax error at /etc/mail/spamassassin/surbl.cf, rule WS_URI_RBL, line 23, near "; }" )
Thanks!
Michael
--
--------------------------------o--------------------------------- Michael H. Martel | Vermont State Colleges martelm@quark.vsc.edu | Systems Administrator http://probe.vsc.edu/~michael | PH:802-241-2544 FX:802-241-3363
--On Wednesday, July 14, 2004 5:53 PM -0400 "Michael H. Martel" martelm@quark.vsc.edu wrote:
[root@merlin spamassassin]# spamassassin --lint Failed to compile URI SpamAssassin tests, skipping: (syntax error at /etc/mail/spamassassin/surbl.cf, rule WS_URI_RBL, line 1, near "eval:" syntax error at /etc/mail/spamassassin/bigevil.cf, rule BigEvilList_1614, line 11071, near ";
Some more details, make test returns the following :
[root@merlin Mail-SpamAssassin-SpamCopURI-0.18]# make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/blacklist........ok
t/dnsrbl...........ok
t/extract_urls.....ok
t/mailto...........ok
t/open_redirect....NOK 1# Failed test (t/open_redirect.t at line 37)
t/open_redirect....NOK 2# Failed test (t/open_redirect.t at line 44)
t/open_redirect....NOK 3# Failed test (t/open_redirect.t at line 52)
t/open_redirect....ok 5/5# Looks like you failed 3 tests of 5.
t/open_redirect....dubious
Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 1-3 Failed 3/5 tests, 40.00% okay t/spamcopuri.......ok
t/whitelist........ok
Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/open_redirect.t 3 768 5 3 60.00% 1-3 Failed 1/7 test scripts, 85.71% okay. 3/57 subtests failed, 94.74% okay. make: *** [test_dynamic] Error 255
Trying to install Net::DNS returns ...
Net::DNS is up to date.
Michael
--
--------------------------------o--------------------------------- Michael H. Martel | Vermont State Colleges martelm@quark.vsc.edu | Systems Administrator http://probe.vsc.edu/~michael | PH:802-241-2544 FX:802-241-3363