Hi all,

I'm new to the forum, please bear with me on details or eticate!

I have a RHEL 2.1 Linux machine running Postfix/Amavis/SA.
SA version:

[EMAIL PROTECTED] spam-email]$ sa-learn --version
SpamAssassin version 3.1.1

Perl version:
[EMAIL PROTECTED] root]# perl -v
This is perl, v5.6.1 built for i386-linux

Recently I started getting these errors when trying to learn spam email
messages:

[EMAIL PROTECTED] spam-email]$ sa-learn --spam < mosconj-022008-1 
Use of uninitialized value in pattern match (m//) at
/usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Message/Node.pm line 119.
Use of uninitialized value in pattern match (m//) at
/usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Message/Node.pm line 119.
Use of uninitialized value in pattern match (m//) at
/usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Message/Node.pm line 119.
Learned tokens from 0 message(s) (1 message(s) examined)

So, I found a post that explained this was a bug and to pach the Node.pm
file and so I patched it:
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5823

Then, when I tried to run sa-learn - none of my messages are learning?

[EMAIL PROTECTED] spam-email]$ sa-learn --spam < mosconj-022008-1 
Learned tokens from 0 message(s) (1 message(s) examined)

Perhaps I have more issues with my BayesDB - I don;t know at this point.

However, why does SA with debug and lint score the email?

[EMAIL PROTECTED] spam-email]$ /usr/bin/spamassassin -DtL < mosconj-022008-1 
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on 
        mail.weirminerals.com
X-Spam-Report: 
        *  2.5 MISSING_HB_SEP Missing blank line between message header and
body
        *  1.3 INFO_TLD URI: Contains an URL in the INFO top-level domain
        *  0.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60%
        *      [score: 0.4471]
        *  1.6 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in
bl.spamcop.net
        *      [Blocked - see
<http://www.spamcop.net/bl.shtml?125.115.21.32>]
        *  1.8 MISSING_SUBJECT Missing Subject: header
X-Spam-Status: Yes, score=7.1 required=4.0 tests=BAYES_50,INFO_TLD,
        MISSING_HB_SEP,MISSING_SUBJECT,RCVD_IN_BL_SPAMCOP_NET autolearn=no 
        version=3.1.1
X-Spam-Level: *******


But, in my maillog - the email is being sent thru and passing as a low score
under the spam cutoff score?

Feb 19 18:25:53 mail amavis[3261]: (03261-01) Passed,
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>,
Message-ID: <[EMAIL PROTECTED]>, Hits: 1.217
Feb 19 18:25:53 mail postfix/smtp[3586]: > 66.170.10.8[66.170.10.8]: MAIL
FROM:<[EMAIL PROTECTED]> SIZE=2806
Feb 19 18:25:53 mail postfix/smtp[3586]: < 66.170.10.8[66.170.10.8]: 250
[EMAIL PROTECTED] Sender OK

Any ideas as to what could have happened?
Many thanks for any help!

Scott








-- 
View this message in context: 
http://www.nabble.com/sa-learn-%22not%22-learning--tp15594114p15594114.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to