sa-learn not learning?

2008-02-20 Thread pichels

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.



Re: sa-learn not learning?

2008-02-20 Thread pichels

Hi John,

But, I've tried learning any email after I recieved the Perl error message
and none are being learned?
And why is the spam being scored wioth spamassassin?
I don't understand? Could my Bayes DB need to be re-synced or forced to
expire some dups or ?

My users are getting the nice girl emails and they are not scoring as I've
shown in my post - why?
They score with spamassassin debug but are not being stopped by SA in my
maillogs?
Can I provide more details? 
Thanks,

pichels



John Hardin wrote:
 
 On Wed, 20 Feb 2008, pichels wrote:
 
 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)
 
 That just means that sa-learn has already learned that message and is 
 ignoring it. It does not by itself indicate a problem exists.
 
 -- 
   John Hardin KA7OHZhttp://www.impsec.org/~jhardin/
   [EMAIL PROTECTED]FALaholic #11174 pgpk -a [EMAIL PROTECTED]
   key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
 ---
The third basic rule of firearms safety:
Keep your booger hook off the bang switch!
 ---
   2 days until George Washington's 276th Birthday
 
 

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