On 20-May-2002 at 16:21:47 John Horne wrote: > On 20-May-2002 at 10:59:00 John Horne wrote: > Damn! Spoke too soon when I reported that this was sorted on the solaris 7 > system. I've just installed perl 5.6.1 with no problems onto one of the > mailhubs (solaris 8); rebuilt spamassassin and I still get errors from the > tests - not so many now though: > > t/spamd.............ok 8/13 Not found: subj = Subject: *****SPAM***** > There yours for FREE! > t/spamd.............ok 11/13 Not found: stars = X-Spam-Level: > ********** > t/spamd.............FAILED tests 9, 12 > Failed 2/13 tests, 84.62% okay > t/spamd_maxsize.....ok > t/spamd_port........ok 4/8 Not found: subj = Subject: *****SPAM***** > There yours for FREE! > t/spamd_port........FAILED test 5 > Okay I now *do* have this sorted :-)
The problem is that I had already installed spamassassin, ran all the tests which it passed and then used spamassassin to log spam messages going through the mailhub. When I tried to run through the tests again - I did this because they failed on the other mailhub due to a problem with perl it seems - the tests then failed on this system! The problem is that the tests look for and use /etc/mail/spamassassin/local.cf if it exists. Mine does and is configured *NOT* to rewrite the subject line. The test 'spamd_port.t' uses as one of its tests the pattern: Subject: *****SPAM***** There yours for FREE! In my case the subject line in the test file does not change, and hence there is no '*****SPAM*****' at the beginning of the subject. So it thinks the test has failed. I guess the question should be should 'make test' ignore any pre-installed configuration file? Is this mentioned anywhere in the docs? If it is then I missed it. Regards, John. ------------------------------------------------------------------------ John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914 E-mail: [EMAIL PROTECTED] PGP key available from public key servers _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk