sarahphia wrote:
Hi All,
I’m having a problem with Spam Assassin - I can’t get it to correctly
identify more than 20% of the spam emails I'm testing.
I downloaded 3.1.7 from Spamassassin.org and ran:
perl Makefile.pl
make
make test
make install
I didn’t have perl installed before, and downloaded only the required perl
modules
I wrote a little test in perl to call the Mail::SpamAssassin module that
looks like
my $spamtest = Mail::SpamAssassin->new();
my $status = $spamtest->check_message_text($mail);
return $status->is_spam();
The $email is set to the full contents of the email message, including
headers.
I’m testing it on the spam assassin’s public corpus (
http://spamassassin.apache.org/publiccorpus/ ) so I would suspect accuracy
would be high.
Am I missing something that’s hurting my accuracy?
checks the extra rules in www.rulesemporium.com, make sure you're
running the network tests as well (spamassassin -D --lint)
--
Martin Hepworth
Senior Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.
**********************************************************************