bayes DB not growing
Martin Hepworth
martinh at SOLID-STATE-LOGIC.COM
Tue May 17 16:50:24 IST 2005
Billy
sa-learn -p <path-to>/spam.assassin.prefs.conf -ham < message
man sa-learn for all the options.
There's a nice started kit available at www.fsl.com/support
--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
Billy A. Pumphrey wrote:
> Hhmm...I am a newbie so I don't know why that is.
>
> I did go and check some non spam messages and here is an example:
> spam autolearn=not
> -2.60 BAYES_00 Bayesian spam probability is 0 to 1%
> 0.70 DATE_IN_PAST_12_24 Date: is 12 to 24 hours before Received: date
> 0.00 HTML_MESSAGE HTML included in message
>
> So I getting at least one autolearn=not. So looks like my autolearn
> reporting is working OK.
>
> BTW: How do you feed spamassassin ham and spam?
>
> Billy Pumphrey
> IT Manager
> Wooden & McLaughlin
>
>
>>-----Original Message-----
>>From: Arif Malik [mailto:Arifm at TOMASJEWELRY.COM]
>>Sent: Tuesday, May 17, 2005 10:39 AM
>>To: MAILSCANNER at JISCMAIL.AC.UK
>>Subject: Re: bayes DB not growing
>>
>>Hmm - what I am seeing in my logs, is EVERY message shows
>>"autolearn=spam" - even though my bayes DB isn't growing... even
>>messages that aren't tagged as spam are showing it - for example:
>>
>>May 15 07:05:42 filter MailScanner[11331]: Message 1DXJk9-00083F-Tv
>
> from
>
>>209.0.2
>>4.12 (bounce-flnl-45112503 at mx01.gamerival.com) to adggdwe.com is not
>>spam, SpamA
>>ssassin (score=2.733, required 4, autolearn=spam, AWL 1.02,
>
> HTML_90_100
>
>>0.19, HT
>>ML_FONT_BIG 0.23, HTML_MESSAGE 0.00, MIME_HEADER_CTYPE_ONLY 0.48,
>>NO_REAL_NAME 0
>>.18, URIBL_SBL 0.63)
>>
>>shouldn't only messages that are considered spam be showing the
>>"autolearn=spam" ??? I still don't know why the bayes DB only has 1
>
> spam
>
>>in it still, but I will try using sa-learn to feed it 200 spams and
>
> hams
>
>>and see what happens... but I am still wondering about the autolearn
>>behavior, if anyone has any insight.. thanks!
>>
>>-----Original Message-----
>>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>>Behalf Of Billy A. Pumphrey
>>Sent: Tuesday, May 17, 2005 7:48 AM
>>To: MAILSCANNER at JISCMAIL.AC.UK
>>Subject: Re: bayes DB not growing
>>
>>That is a good link. On my mailwatch, I look at the spam messages and
>
> I
>
>>do see this a lot:
>>Autolearn=spam
>>
>>I also see that some messages do not have a autolearn= I am guessing
>>that it was not autolearned because from the link, it said that a
>>message needs 3 points from the header and 3 points from the body to
>
> be
>
>>autolearned.
>>
>>When I do a spamassassin -D --lint. I get:
>>debug: bayes: found bayes db version 3
>>debug: using "/root/.spamassassin" for user state dir
>>debug: bayes: Not available for scanning, only 0 spam(s) in Bayes DB <
>>200
>>
>>So mine says that there are only 0 spams. Does this mean that I need
>
> to
>
>>fix something?
>>
>>
>>Billy Pumphrey
>>IT Manager
>>Wooden & McLaughlin
>>
>>>-----Original Message-----
>>>From: Raylund Lai [mailto:raylund.lai at KANKANWOO.COM]
>>>Sent: Tuesday, May 17, 2005 3:59 AM
>>>To: MAILSCANNER at JISCMAIL.AC.UK
>>>Subject: Re: bayes DB not growing
>>>
>>>have a look on this link to see whether it answer your question.
>>>http://wiki.apache.org/spamassassin/AutolearningNotWorking
>>>
>>>Cheers
>>>Raylund
>>>
>>>Arif Malik wrote:
>>>
>>>
>>>>I have a new installation of mailscanner, and for the last few
>
> days
>
>>I
>>
>>>>keep noticing the following message:
>>>>
>>>>debug: bayes: Not available for scanning, only 0 spam(s) in Bayes
>
> DB
>
>><
>>
>>>200
>>>
>>>>now today, it has finally changed to: debug: bayes: Not available
>>
>>for
>>
>>>>scanning, only 1 spam(s) in Bayes DB < 200 but there has been
>
> quite
>
>>>>a few spams that have gone through, and
>>
>>have
>>
>>>>been marked as spam, and i see "autolearn=spam" in the log.
>>
>>shouldn't
>>
>>>>these be added to the bayes DB?? here is the rest of that part of
>>
>>the
>>
>>>>log that deals with bayes:
>>>>
>>>>debug: bayes: 2357 tie-ing to DB file R/O
>>>>/home/exim/.spamassassin/bayes_toks
>>>>debug: bayes: 2357 tie-ing to DB file R/O
>>>>/home/exim/.spamassassin/bayes_seen
>>>>debug: bayes: found bayes db version 3
>>>>debug: bayes: Not available for scanning, only 1 spam(s) in Bayes
>
> DB
>
>><
>>
>>>200
>>>
>>>>debug: bayes: 2357 untie-ing
>>>>debug: bayes: 2357 untie-ing db_toks
>>>>debug: bayes: 2357 untie-ing db_seen
>>>>debug: Score set 1 chosen.
>>>>
>>>>any idea what i might be doing wrong ? it is odd to me that 1
>
> email
>
>>>>did finally end up in the bayes db... thanks for any help!!!
>>>>------------------------ 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!*
>>>
>>>------------------------ 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!
>>
>>------------------------ 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!
>>
>>------------------------ 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!
>
>
> ------------------------ 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!
**********************************************************************
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.
**********************************************************************
------------------------ 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