config issue?
Rob Livermore
rlivermore at TWNS.COM
Tue Aug 26 02:15:07 IST 2003
I did - but I'm with you. I must have overlooked something with the
SpamAssassin install/config.
I have since removed SpamAssassin. Attempted to run a clean install.
When I ran make test - I recv'd many errors, below are just some of them:
------ beginning of errors -------
Failed 8/8 tests, 0.00% okay
t/forged_rcvd...............Can't locate HTML/Parser.pm in @INC (@INC
contains: lib ../blib/lib /usr/local/lib/perl5/site_perl/5.8.0/i686-linux
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/5.8.0/i686-linux
/usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl) at
../blib/lib/Mail/SpamAssassin/HTML.pm line 7.
BEGIN failed--compilation aborted at ../blib/lib/Mail/SpamAssassin/HTML.pm
line 7.
Compilation failed in require at
../blib/lib/Mail/SpamAssassin/PerMsgStatus.pm line 44.
BEGIN failed--compilation aborted at
../blib/lib/Mail/SpamAssassin/PerMsgStatus.pm line 44.
Compilation failed in require at ../blib/lib/Mail/SpamAssassin.pm line 62.
BEGIN failed--compilation aborted at ../blib/lib/Mail/SpamAssassin.pm line
62.
Compilation failed in require at ../spamassassin line 66.
Not found: invdate = INVALID_DATE
# Failed test 1 in t/SATest.pm at line 354
Not found: bodyspotted = VACATION_SCAM
# Failed test 2 in t/SATest.pm at line 354 fail #2
t/forged_rcvd...............FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/gtube.....................Can't locate HTML/Parser.pm in @INC (@INC
contains: lib ../blib/lib /usr/local/lib/perl5/site_perl/5.8.0/i686-linux
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/5.8.0/i686-linux
/usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl) at
../blib/lib/Mail/SpamAssassin/HTML.pm line 7.
BEGIN failed--compilation aborted at ../blib/lib/Mail/SpamAssassin/HTML.pm
line 7.
Compilation failed in require at
../blib/lib/Mail/SpamAssassin/PerMsgStatus.pm line 44.
BEGIN failed--compilation aborted at
../blib/lib/Mail/SpamAssassin/PerMsgStatus.pm line 44.
Compilation failed in require at ../blib/lib/Mail/SpamAssassin.pm line 62.
BEGIN failed--compilation aborted at ../blib/lib/Mail/SpamAssassin.pm line
62.
Compilation failed in require at ../spamassassin line 66.
# Failed test 1 in t/gtube.t at line 16
# t/gtube.t line 16 is: ok (sarun ("-L -t < data/spam/gtube.eml",
\&patterns_run_cb));
Not found: gtube = GTUBE
# Failed test 2 in t/SATest.pm at line 354
t/gtube.....................FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/lang_pl_tests.............Can't locate HTML/Parser.pm in @INC (@INC
contains: lib ../blib/lib /usr/local/lib/perl5/site_perl/5.8.0/i686-linux
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/5.8.0/i686-linux
/usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl) at
../blib/lib/Mail/SpamAssassin/HTML.pm line 7.
BEGIN failed--compilation aborted at ../blib/lib/Mail/SpamAssassin/HTML.pm
line 7.
Compilation failed in require at
../blib/lib/Mail/SpamAssassin/PerMsgStatus.pm line 44.
BEGIN failed--compilation aborted at
../blib/lib/Mail/SpamAssassin/PerMsgStatus.pm line 44.
Compilation failed in require at ../blib/lib/Mail/SpamAssassin.pm line 62.
BEGIN failed--compilation aborted at ../blib/lib/Mail/SpamAssassin.pm line
62.
Compilation failed in require at ../spamassassin line 66.
Not found: didnt_hang_at_least = X-Spam-Status: No,
# Failed test 1 in t/SATest.pm at line 354
t/lang_pl_tests.............FAILED test 1
Failed 1/1 tests, 0.00% okay
t/mailing_lists.............Can't locate HTML/Parser.pm in @INC (@INC
contains: lib ../blib/lib /usr/local/lib/perl5/site_perl/5.8.0/i686-linux
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/5.8.0/i686-linux
/usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl) at
../blib/lib/Mail/SpamAssassin/HTML.pm line 7.
BEGIN failed--compilation aborted at ../blib/lib/Mail/SpamAssassin/HTML.pm
line 7.
Compilation failed in require at
../blib/lib/Mail/SpamAssassin/PerMsgStatus.pm line 44.
BEGIN failed--compilation aborted at
../blib/lib/Mail/SpamAssassin/PerMsgStatus.pm line 44.
Compilation failed in require at ../blib/lib/Mail/SpamAssassin.pm line 62.
BEGIN failed--compilation aborted at ../blib/lib/Mail/SpamAssassin.pm line
62.
Compilation failed in require at ../spamassassin line 66.
# Failed test 1 in t/mailing_lists.t at line 15
# t/mailing_lists.t line 15 is: ok (sarun ("-L -t <
data/nice/ezmlm_message.txt", \&patterns_run_cb));
Not found: known_mailing_list = KNOWN_MAILING_LIST
# Failed test 2 in t/SATest.pm at line 354
t/mailing_lists.............NOK 2make: *** wait: No child processes. Stop.
---------- end of errors ---------
After each failed component I noticed a message stating: having trouble with
spamd may have a running process. I double-checked to ensure spamd or
spamassassin was not running.
I continued with the install to see what kind of results I would
get...here's what mail log stated when I started MailScanner:
-----Original Message-----
From: Antony Stone [mailto:Antony at SOFT-SOLUTIONS.CO.UK]
Sent: Monday, August 25, 2003 5:19 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: config issue?
On Tuesday 26 August 2003 1:13 am, Rob Livermore wrote:
> So I made the adjustments. Sent a "sample-spam.txt" via email it came
> through without even being looked at by SpamAssassin.
>
> Is it safe to assume I may have a foo-bar SpamAssassin install? It
appears
> to be of little consequence but I can start and stop spamd.
MailScanner does not use spamd.
MailScanner uses the command-line version of SpamAssassin, not the
backgroudn
daemon.
Have you installed MailScanner and SpamAssassin according to the
instructions
on http://www.MailScanner.info ?
Antony.
--
Programming is a Dark Art, and it will always be. The programmer is
fighting against the two most destructive forces in the universe:
entropy and human stupidity. They're not things you can always
overcome with a "methodology" or on a schedule.
- Damian Conway, Perl God
More information about the MailScanner
mailing list