I ran it and this is what I got: spamassassin -D --lint debug: Score set 0 chosen. debug: running in taint mode? yes debug: Running in taint mode, removing unsafe env vars, and resetting PATH debug: PATH included '/usr/local/sbin', keeping. debug: PATH included '/usr/local/bin', keeping. debug: PATH included '/sbin', keeping. debug: PATH included '/bin', keeping. debug: PATH included '/usr/sbin', keeping. debug: PATH included '/usr/bin', keeping. debug: PATH included '/usr/X11R6/bin', keeping. debug: PATH included '/root/bin', which doesn't exist, dropping. debug: Final PATH set to: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin debug: ignore: using a test message to lint rules debug: using "/usr/share/spamassassin" for default rules dir debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/root/.spamassassin" for user state dir debug: using "/root/.spamassassin" for user state dir Created user preferences file: /root/.spamassassin/user_prefs debug: using "/root/.spamassassin/user_prefs" for user prefs file debug: using "/root/.spamassassin" for user state dir debug: bayes: no dbs present, cannot scan: /root/.spamassassin/bayes_toks debug: Score set 1 chosen. debug: Initialising learner debug: bayes: Not available for scanning, only 0 spam(s) in Bayes DB < 200 debug: bayes: 1994 untie-ing debug: bayes: 1994 untie-ing db_toks debug: is Net::DNS::Resolver available? yes debug: trying (3) kernel.org... debug: looking up MX for 'kernel.org' debug: MX for 'kernel.org' exists? 1 debug: MX lookup of kernel.org succeeded => Dns available (set dns_available to hardcode) debug: is DNS available? 1 debug: all '*From' addrs: [EMAIL PROTECTED] debug: running header regexp tests; score so far=0 debug: running body-text per-line regexp tests; score so far=1.27 debug: Razor2 is not available debug: running raw-body-text per-line regexp tests; score so far=1.27 debug: running uri tests; score so far=1.27 debug: uri tests: Done uriRE debug: running full-text regexp tests; score so far=1.27 debug: Razor2 is not available debug: Current PATH is: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin debug: Pyzor is not available: pyzor not found debug: DCCifd is not available: no r/w dccifd socket found. debug: DCC is not available: no executable dccproc found. debug: all '*To' addrs: debug: RBL: success for 0 of 1 queries debug: RBL: timeout for rfci-dsn after 15 seconds debug: running meta tests; score so far=1.27 debug: is spam? score=1.27 required=5 tests=DATE_MISSING,NO_REAL_NAME
It said "debug: bayes: no dbs present, cannot scan: /root/.spamassassin/bayes_toks" Perhaps it is because I ran it under root? It usually runs by being called from amavisd-new. Cheers, fritz <www.mesedilla.com> --- + Basta Ikaw Lord -----Original Message----- From: Tom Meunier [mailto:[EMAIL PROTECTED] Sent: Saturday, November 22, 2003 8:35 AM To: Fritz Mesedilla; Spamassassin Mailing List (E-mail) Subject: RE: [SAtalk] bayes learning Run spamassassin -D --lint and look at the debug output and see how many spams/hams are in the Bayes database. Go have a beer, come back, do it again, subtract. If you come out with a non-zero number, it's working. :) > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Fritz Mesedilla > Sent: Friday, November 21, 2003 3:32 AM > To: Spamassassin Mailing List (E-mail) > Subject: [SAtalk] bayes learning > > > Greetings! > I would like to know how to find out if bayes learning is > working properly. > I know that spamassassin itself is working for it is able to > filter spam. > ---------------------------------------------------------------------- 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 sender immediately by e-mail and delete this e-mail from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Overture Media, Inc. Direct Line: (632) 635-4785 Trunkline: (632) 631-8971 Local 146 Fax: (632) 637-2206 Level 1 Summit Media Offices, Robinsons Galleria EDSA Cor. Ortigas Ave., Quezon City 1100 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk