Spamassassin always scores 0.

Milton R. Calnek mcalnek at PCPLACE.CA
Fri Jul 29 17:36:10 IST 2005


> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Matt Kettler
> Sent: Friday, July 29, 2005 9:33 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: [MAILSCANNER] Spamassassin always scores 0.
> 
> 
> spamassassin --lint
> (should run, and exit quietly)

It does.

> 
> Also try feeding it the sample spam message that comes with SA's
source:
> 
> spamassassin < sample-spam.txt

spamassassin < /usr/share/doc/spamassassin-3.0.2/sample-nonspam.txt

Surprises on output:

X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on
wilma.pcplace.ca
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=4.0 tests=none
autolearn=unavailable 
        version=3.0.2


> The sample spam should trigger GTUBE and get a really high score.

spamassassin < /usr/share/doc/spamassassin-3.0.2/sample-spam.txt


X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on
wilma.pcplace.ca
X-Spam-Level: **************************************************
X-Spam-Status: Yes, score=997.2 required=4.0 tests=ALL_TRUSTED,
        DNS_FROM_AHBL_RHSBL,GTUBE autolearn=unavailable version=3.0.2

> > spamassassin-3.0.2-2.0.rh9.rf
> 
> Hmm, distro-ported version.. You might want to check to make sure the
> rulefiles
> wound up being installed correctly. Find out your default rules dir by
> running:
> 
> spamassassin --lint -D
> 

debug: diag: module installed: URI, version 1.21
debug: ignore: using a test message to lint rules
debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre
debug: config: read file /etc/mail/spamassassin/init.pre
debug: using "/usr/share/spamassassin" for default rules dir
debug: config: read file /usr/share/spamassassin/10_misc.cf
debug: config: read file /usr/share/spamassassin/20_anti_ratware.cf
debug: config: read file /usr/share/spamassassin/20_body_tests.cf
debug: config: read file /usr/share/spamassassin/20_compensate.cf


So I've got both init.pre and the config files... I think.


> And check to make sure the SA rulefiles are there. Also check the site
> rules dir
> for init.pre, and it should NOT contain any of the default rules
(20_*.cf,
> 50_scores.cf, etc should be in default, not site rules)
> 

Not sure if what I've got is correct and if not, how do I correct it.

--
Milton Calnek
mcalnek at pcplace.ca
+1 306 359 6939


--
DISCLAIMER: The information transmitted is intended only for the 
addressee and may contain confidential, proprietary and/or privileged 
material. Any unauthorized review, distribution or other use of or 
the taking of any action in reliance upon this information is 
prohibited. If you received this in error, please contact the sender 
and delete or destroy this message and any copies.  

-- 
This message has been scanned for viruses and dangerous content by 
MailScanner, and is believed to be clean.  MailScanner thanks transtec 
Computers for their support.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list