Re: Is BAYES filtering working? Having doubts.

2015-12-30 Thread Bill Cole
On 30 Dec 2015, at 8:37, RW wrote: On Tue, 29 Dec 2015 20:41:31 -0500 Bill Cole wrote: On 29 Dec 2015, at 20:02, Ian Zimmerman wrote: esired result. Clearly you can do the su magic if needed. Um, no. Neither su nor sudo magically changes the permissions or ownership of files. No,

Re: Is BAYES filtering working? Having doubts.

2015-12-30 Thread RW
On Tue, 29 Dec 2015 20:41:31 -0500 Bill Cole wrote: > On 29 Dec 2015, at 20:02, Ian Zimmerman wrote: > esired result. > > > > Clearly you can do the su magic if needed. > > Um, no. > > Neither su nor sudo magically changes the permissions or ownership of > files. No, but sudo allows

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread RW
On Mon, 28 Dec 2015 23:42:03 -0500 Bill Cole wrote: > Using these facts, my learning script that runs as root and reads > from multiple real users' Maildirs does this to learn ham: > >for AFILE in $HAMS ; do formail < $AFILE ; done| sudo -H -u > $SAUSER sa-learn --ham --mbox > > Where

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Bill Cole
On 29 Dec 2015, at 20:02, Ian Zimmerman wrote: On 2015-12-29 19:44 -0500, Bill Cole wrote: On 29 Dec 2015, at 18:54, Ian Zimmerman wrote: In fact sa-learn accepts multiple named arguments on the command line, so the alternative I use is to go through the spambox N files at a time in a

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Ian Zimmerman
On 2015-12-29 20:41 -0500, Bill Cole wrote: > Neither su nor sudo magically changes the permissions or ownership of > files. If you pass filenames as arguments they must be readable by the > user actually running sa-learn, which is the *unprivileged* user > handling the system-wide BayesDB

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Reindl Harald
Am 30.12.2015 um 03:11 schrieb Ian Zimmerman: On 2015-12-29 20:41 -0500, Bill Cole wrote: Neither su nor sudo magically changes the permissions or ownership of files. If you pass filenames as arguments they must be readable by the user actually running sa-learn, which is the *unprivileged*

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Ian Zimmerman
On 2015-12-29 19:44 -0500, Bill Cole wrote: > On 29 Dec 2015, at 18:54, Ian Zimmerman wrote: > > >In fact sa-learn accepts multiple named arguments on the command line, > >so the alternative I use is to go through the spambox N files at a time > >in a shell loop. (I have N=100 but obviously

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Bill Cole
On 29 Dec 2015, at 13:24, RW wrote: On Mon, 28 Dec 2015 23:42:03 -0500 Bill Cole wrote: Using these facts, my learning script that runs as root and reads from multiple real users' Maildirs does this to learn ham: for AFILE in $HAMS ; do formail < $AFILE ; done| sudo -H -u $SAUSER sa-learn

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Ian Zimmerman
On 2015-12-29 17:50 -0500, Bill Cole wrote: > Yes, with the advantage of using Mail::SpamAssassin::Util::secure_tmpfile() > rather > than whatever I happen to roll up in a bit of Q shell that I never get > around to > reviewing for edge cases... > > The main reason to do something like that is

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Bill Cole
On 29 Dec 2015, at 18:54, Ian Zimmerman wrote: In fact sa-learn accepts multiple named arguments on the command line, so the alternative I use is to go through the spambox N files at a time in a shell loop. (I have N=100 but obviously this depends.) Which successfully ignores the original

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Bill Cole
On 29 Dec 2015, at 8:28, Jude DaShiell wrote: With spamassassin, is it possible to have the filter show counts of number of messages sent to spam, number of messages sent to ham, and total number of messages processed that a user can check? Since SpamAssassin is a suite of Perl modules and

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Chalmers
, and total number of > messages processed that a user can check?On Mon, 28 Dec 2015, Bill Cole wrote: > >> Date: Mon, 28 Dec 2015 23:42:03 >> From: Bill Cole <sausers-20150...@billmail.scconsult.com> >> Reply-To: users@spamassassin.apache.org >> To: users@spam

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Reindl Harald
Am 29.12.2015 um 05:42 schrieb Bill Cole: On 28 Dec 2015, at 17:54, Peter L. Berghold wrote: The script that I use to pull the messages out of a spam bucket invoking sa-learn runs as root which has permissions to read from anywhere. The complication is the amavis does not have permissions

Re: Is BAYES filtering working? Having doubts.

2015-12-29 Thread Jude DaShiell
ers-20150...@billmail.scconsult.com> Reply-To: users@spamassassin.apache.org To: users@spamassassin.apache.org Subject: Re: Is BAYES filtering working? Having doubts. On 28 Dec 2015, at 17:54, Peter L. Berghold wrote: The script that I use to pull the messages out of a spam bucket invoking sa-lear

Re: Is BAYES filtering working? Having doubts.

2015-12-28 Thread John Hardin
On Mon, 28 Dec 2015, Peter L. Berghold wrote: On Mon, Dec 28, 2015 at 11:38:17AM -0800, John Hardin wrote: * you haven't also been training ham. Bayes needs sufficient examples of both to be able to make a judgement. Oh yes, been training ham too. Good. * you're somehow mistraining

Re: Is BAYES filtering working? Having doubts.

2015-12-28 Thread Reindl Harald
Am 28.12.2015 um 23:54 schrieb Peter L. Berghold: I think you might be on to something here. When I run "sa-learn --dump magic" as root and as amavis they are definitely different. Here is the result as "root" again: so this is going to complicate how I educate SpamAsssassin about what

Re: Is BAYES filtering working? Having doubts.

2015-12-28 Thread Peter L. Berghold
I think you might be on to something here. When I run "sa-learn --dump magic" as root and as amavis they are definitely different. Here is the result as "root" again: # sa-learn --dump magic 0.000 0 3 0 non-token data: bayes db version 0.000 0

Is BAYES filtering working? Having doubts.

2015-12-28 Thread Peter L. Berghold
I've been noticing a lot of SPAM emails coming to my account with subject headers "Trump's Brain Secret" and similar, along with "Amazon Gift Card" and other something for nothing sorts of emails. I keep feeding them to sa-learn and yet they still keep popping up every other fetch from my

Re: Is BAYES filtering working? Having doubts.

2015-12-28 Thread Antony Stone
On Monday 28 December 2015 at 20:27:32, Peter L. Berghold wrote: > I've been noticing a lot of SPAM emails coming to my account > How do I figure out where the issue is or if the learning is even > working? Show us the headers of the delivered email/s? Antony. -- "Once you have a panic,

Re: Is BAYES filtering working? Having doubts.

2015-12-28 Thread John Hardin
On Mon, 28 Dec 2015, Peter L. Berghold wrote: I've been noticing a lot of SPAM emails coming to my account with subject headers "Trump's Brain Secret" and similar, along with "Amazon Gift Card" and other something for nothing sorts of emails. I keep feeding them to sa-learn and yet they

Re: Is BAYES filtering working? Having doubts.

2015-12-28 Thread Reindl Harald
Am 28.12.2015 um 20:27 schrieb Peter L. Berghold: I've been noticing a lot of SPAM emails coming to my account with subject headers "Trump's Brain Secret" and similar, along with "Amazon Gift Card" and other something for nothing sorts of emails. I keep feeding them to sa-learn and yet they

Re: Is BAYES filtering working? Having doubts.

2015-12-28 Thread Bill Cole
On 28 Dec 2015, at 17:54, Peter L. Berghold wrote: The script that I use to pull the messages out of a spam bucket invoking sa-learn runs as root which has permissions to read from anywhere. The complication is the amavis does not have permissions to read the Maildir files for trivial users

Mysql Bayes not working with 3.3.0

2010-01-27 Thread Ed Kasky
I have been using Mysql for bayes storage for quite some time very successfully for quite some time. After seeing a lot of spam coming through since upgrading I though I had better check the scoring to see what was going on. Here's what I found: Jan 27 10:16:27 yoda spamd[30357]: Issuing

Re: Mysql Bayes not working with 3.3.0

2010-01-27 Thread Mark Martinec
On Wednesday January 27 2010 23:28:46 Ed Kasky wrote: I have been using Mysql for bayes storage for quite some time very successfully for quite some time. After seeing a lot of spam coming through since upgrading I though I had better check the scoring to see what was going on. Here's what I

Re: Mysql Bayes not working with 3.3.0

2010-01-27 Thread Ed Kasky
At 03:37 PM Wednesday, 1/27/2010, Mark Martinec wrote -= On Wednesday January 27 2010 23:28:46 Ed Kasky wrote: I have been using Mysql for bayes storage for quite some time very successfully for quite some time. After seeing a lot of spam coming through since upgrading I though I had better

Re: Bayes stopped working

2010-01-18 Thread Martin Gregorie
On Sun, 2010-01-17 at 20:53 -0500, Warren Togami wrote: Bayes is working just fine for me on Fedora 12 with spamassassin-3.3.0-*. What version of amavis is this? Thats good toi know. Thanks Warren. Martin

Bayes stopped working

2010-01-17 Thread Casartello, Thomas
I recently updated my machine from Fedora 11 to Fedora 12 and I noticed Bayes has stopped working. Couldn't get anything revealing from Spamassassin -D -lint . I use Mysql based bayes. Any suggestions on where else to check for problems? Thomas E. Casartello, Jr. Staff Assistant - Wireless

Re: Bayes stopped working

2010-01-17 Thread Marc Perkel
MySQL has changed. I think there's a script called mysql-upgrade that you need to run. Casartello, Thomas wrote: I recently updated my machine from Fedora 11 to Fedora 12 and I noticed Bayes has stopped working. Couldn't get anything revealing from Spamassassin --D --lint . I use Mysql

RE: Bayes stopped working

2010-01-17 Thread Casartello, Thomas
Information Technology Wilson 105A Westfield State College Red Hat Certified Technician (RHCT) From: Marc Perkel [mailto:m...@perkel.com] Sent: Sunday, January 17, 2010 11:46 AM To: Casartello, Thomas Cc: users@spamassassin.apache.org Subject: Re: Bayes stopped working MySQL has changed. I

Re: Bayes stopped working

2010-01-17 Thread Marc Perkel
@spamassassin.apache.org *Subject:* Re: Bayes stopped working MySQL has changed. I think there's a script called mysql-upgrade that you need to run. Casartello, Thomas wrote: I recently updated my machine from Fedora 11 to Fedora 12 and I noticed Bayes has stopped working. Couldn’t get anything revealing from

RE: Bayes stopped working

2010-01-17 Thread Casartello, Thomas
- Wireless/Linux Administrator Information Technology Wilson 105A Westfield State College Red Hat Certified Technician (RHCT) -Original Message- From: Marc Perkel [mailto:m...@perkel.com] Sent: Sunday, January 17, 2010 12:05 PM To: users@spamassassin.apache.org Subject: Re: Bayes stopped working

RE: Bayes stopped working

2010-01-17 Thread Casartello, Thomas
To: 'Marc Perkel'; users@spamassassin.apache.org Subject: RE: Bayes stopped working Yes it is working...Just found something new when running amavisd debug plugin: eval failed: Can't call method tie_db_readonly on an undefined value at /usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/Plugin

RE: Bayes stopped working

2010-01-17 Thread Casartello, Thomas
, Thomas Sent: Sunday, January 17, 2010 12:10 PM To: 'Marc Perkel'; users@spamassassin.apache.org Subject: RE: Bayes stopped working Any thoughts on that junk? Thomas E. Casartello, Jr. Staff Assistant - Wireless/Linux Administrator Information Technology Wilson 105A Westfield State College Red Hat

Re: Bayes stopped working

2010-01-17 Thread Kai Schaetzl
Thomas Casartello wrote on Sun, 17 Jan 2010 12:47:44 -0500: spamassassin-3.3.0-0.26.rc1 That seems to be coming from Fedora/Rawhide? If so, I'd inquire there as well. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com

RE: Bayes stopped working

2010-01-17 Thread Casartello, Thomas
: Kai Schaetzl [mailto:mailli...@conactive.com] Sent: Sunday, January 17, 2010 2:11 PM To: users@spamassassin.apache.org Subject: Re: Bayes stopped working Thomas Casartello wrote on Sun, 17 Jan 2010 12:47:44 -0500: spamassassin-3.3.0-0.26.rc1 That seems to be coming from Fedora/Rawhide? If so

Re: Bayes stopped working

2010-01-17 Thread Kai Schaetzl
Thomas Casartello wrote on Sun, 17 Jan 2010 14:33:35 -0500: Yes it happened immediately after upgrading to Fedora 12. I just inquired there about this. Yeah. Nobody really knows when this rpm was done, it may contain a bug that's already fixed. It's also possible there's some issue with the

RE: Bayes stopped working

2010-01-17 Thread Casartello, Thomas
- From: Kai Schaetzl [mailto:mailli...@conactive.com] Sent: Sunday, January 17, 2010 3:31 PM To: users@spamassassin.apache.org Subject: Re: Bayes stopped working Thomas Casartello wrote on Sun, 17 Jan 2010 14:33:35 -0500: Yes it happened immediately after upgrading to Fedora 12. I just inquired

RE: Bayes stopped working

2010-01-17 Thread Casartello, Thomas
:54 PM To: users@spamassassin.apache.org Subject: RE: Bayes stopped working Tried the rC3 unofficial version. Same issue. I'll try going back to 3.2.5 and see what happens. Thomas E. Casartello, Jr. Staff Assistant - Wireless/Linux Administrator Information Technology Wilson 105A Westfield State

Re: Bayes stopped working

2010-01-17 Thread Kai Schaetzl
Thomas Casartello wrote on Sun, 17 Jan 2010 15:53:38 -0500: Tried the rC3 unofficial version. Same issue. I think you should then file a bug report at https://issues.apache.org/SpamAssassin/ Kai -- Get your web at Conactive Internet Services: http://www.conactive.com

RE: Bayes stopped working

2010-01-17 Thread Martin Gregorie
On Sun, 2010-01-17 at 15:57 -0500, Casartello, Thomas wrote: Went back to 3.2.5 and that fixed it... Thomas, Please tell Fedora about it / add a bug on Fedora bugzilla. I'm on Fedora 10 and, since updates dried up since the new year, need to move to F12 Real Soon Now. Martin

Re: Bayes stopped working

2010-01-17 Thread Warren Togami
On 01/17/2010 03:31 PM, Kai Schaetzl wrote: Thomas Casartello wrote on Sun, 17 Jan 2010 14:33:35 -0500: Yes it happened immediately after upgrading to Fedora 12. I just inquired there about this. Yeah. Nobody really knows when this rpm was done, it may contain a bug that's already fixed.

Re: Bayes stopped working

2010-01-17 Thread Warren Togami
to move to F12 Real Soon Now. Martin Bayes is working just fine for me on Fedora 12 with spamassassin-3.3.0-*. What version of amavis is this? Warren

Re: Bayes stopped working

2010-01-17 Thread Robert LeBlanc
the new year, need to move to F12 Real Soon Now. Martin Bayes is working just fine for me on Fedora 12 with spamassassin-3.3.0-*. What version of amavis is this? Warren Warren, I believe Thomas is using amavisd-maia (from the Maia Mailguard suite), which has not yet been updated

Re: Bayes stopped working

2010-01-17 Thread Casartello, Thomas
, need to move to F12 Real Soon Now. Martin Bayes is working just fine for me on Fedora 12 with spamassassin-3.3.0-*. What version of amavis is this? Warren Warren, I believe Thomas is using amavisd-maia (from the Maia Mailguard suite), which has not yet been updated for perl

can't verify that bayes is working

2008-08-03 Thread Fishtop_records
/spamassassin ENABLED=1 and /etc/spamassassin says use_bayes 1 I don't know what else to do to get it working. Thanks Pat Debian etch 32 bit SpamAssassin version 3.2.3 running on Perl version 5.8.8 postfix -- View this message in context: http://www.nabble.com/can%27t-verify-that-bayes

Re: can't verify that bayes is working

2008-08-03 Thread Matt Kettler
Fishtop_records wrote: I've got the rest of the rules based stuff working fine, but I can't seem to get the bayesian stuff scoring. When I run sa-learn --debug magic, you can see that there are lots of graded messages 0.000 0 1224 0 non-token data: nspam 0.000

Re: can't verify that bayes is working

2008-08-03 Thread Fishtop_records
in context: http://www.nabble.com/can%27t-verify-that-bayes-is-working-tp18802329p18803978.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

SA-Bayes not working

2008-06-24 Thread Richard J. Kieran
I'm not sure if this is a SpamAssassin or a MIMEDefang problem. I set up MD and SA on a new machine running CentOS, MD 2.64, SA 3.2.4. I backed up the Bayes database on my old server, running FreeBSD, MD 2.51, SA 3.0.3, and restored it to the new machine. I can train it and sync it and so-on,

Spamassassin Bayes not working with Procmail

2008-02-02 Thread jeff986
://www.nabble.com/Spamassassin-Bayes-not-working-with-Procmail-tp15248899p15248899.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: Spamassassin Bayes not working with Procmail

2008-02-02 Thread Theo Van Dinter
On Sat, Feb 02, 2008 at 03:55:22PM -0800, jeff986 wrote: It must be something about procmail, but.. I officially have no clue. Comments?Ideas? Thanks. You don't happen to have PERL5LIB or PERLLIB in your environment, do you? Where is DB_File installed, and what's the output of perl

Re: Spamassassin Bayes not working with Procmail

2008-02-02 Thread jeff986
/usr/local/lib/perl5/site_perl -- View this message in context: http://www.nabble.com/Spamassassin-Bayes-not-working-with-Procmail-tp15248899p15249278.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: SQL-based AWL and Bayes not working with 3.2.3

2007-11-28 Thread Rene Caspari
* Michael Parker [2007-11-27 18:10]: On Nov 27, 2007, at 10:16 AM, Rene Caspari wrote: In my case it is a bug :-) Because I don't have any chance to get user specified bayes db working which come from a SQL database. Its actually a behavior change, at least for me. How are you running

Re: SQL-based AWL and Bayes not working with 3.2.3

2007-11-27 Thread Rene Caspari
nobody. In my case it is a bug :-) Because I don't have any chance to get user specified bayes db working which come from a SQL database. bye, rene -- If everyone demanded peace instead of another television set, then there'd be peace. (John Lennon) · http://rene.ahrcas.net · Rene Caspari

Re: SQL-based AWL and Bayes not working with 3.2.3

2007-11-27 Thread Michael Parker
On Nov 27, 2007, at 10:16 AM, Rene Caspari wrote: In my case it is a bug :-) Because I don't have any chance to get user specified bayes db working which come from a SQL database. Its actually a behavior change, at least for me. How are you running spamd? If you are running with -q

Re: SQL-based AWL and Bayes not working with 3.2.3

2007-11-19 Thread Andrew Hearn (AAISP)
Rene Caspari wrote: Hi, I'm using spamassassing 3.2.3 with userspecific rules from an SQL database: /etc/spamassassin/local.cf: user_scores_dsn DBI:mysql:spamassassin:localhost [...] bayes_store_module Mail::SpamAssassin::BayesStore::SQL [...]

Re: SQL-based AWL and Bayes not working with 3.2.3

2007-11-19 Thread Michael Parker
On Nov 19, 2007, at 8:57 AM, Andrew Hearn (AAISP) wrote: Rene Caspari wrote: Hi, I'm using spamassassing 3.2.3 with userspecific rules from an SQL database: /etc/spamassassin/local.cf: user_scores_dsn DBI:mysql:spamassassin:localhost [...] bayes_store_module

SQL-based AWL and Bayes not working with 3.2.3

2007-11-07 Thread Rene Caspari
Hi, I'm using spamassassing 3.2.3 with userspecific rules from an SQL database: /etc/spamassassin/local.cf: user_scores_dsn DBI:mysql:spamassassin:localhost [...] bayes_store_module Mail::SpamAssassin::BayesStore::SQL [...] auto_whitelist_factory

Bayes isn't working

2007-06-18 Thread Rob Wright
Greetings, It seems to be a common question but I haven't yet been able to figure out what's wrong on my end with this. SpamAssassin itself is working, it's detecting and flagging messages based on the built in rules, but Bayes seems to be non-functioning. I'm using SA 3.2.0, Perl 5.8.8,

Re: Bayes isn't working

2007-06-18 Thread ian douglas
Rob Wright wrote: So far I've managed to run ~2500 messages through sa-learn over the course of the last week or so, and I've yet to see a single log entry with a BAYES rule match of any kind. From your own logs: [24761] dbg: bayes: not available for scanning, only 0 ham(s) in bayes DB 100

Re: Bayes isn't working

2007-06-18 Thread SM
Hi Rob, At 10:23 18-06-2007, Rob Wright wrote: [24761] dbg: bayes: DB journal sync: last sync: 1182182134 [24761] dbg: bayes: not available for scanning, only 0 ham(s) in bayes DB 100 http://wiki.apache.org/spamassassin/BayesNotWorking Regards, -sm

Re: Bayes isn't working

2007-06-18 Thread Rob Wright
On Monday 18 June 2007 12:36, ian douglas wrote: Rob Wright wrote: So far I've managed to run ~2500 messages through sa-learn over the course of the last week or so, and I've yet to see a single log entry with a BAYES rule match of any kind. From your own logs: [24761] dbg: bayes: not

Re: Bayes isn't working

2007-06-18 Thread Theo Van Dinter
On Mon, Jun 18, 2007 at 01:06:52PM -0500, Rob Wright wrote: So, I went back to where my ham is and re-ran sa-learn on that with this result (after first using --forget): sa-learn --ham -C /etc/mail/spamassassin --showdots --spam --no-sync Maildir/new What's with the -C ? sa-learn --dump

Re: Bayes isn't working

2007-06-18 Thread John D. Hardin
On Mon, 18 Jun 2007, Rob Wright wrote: sa-learn --ham -C /etc/mail/spamassassin --showdots --spam --no-sync Maildir/new So, then, spamassassin isn't seeing the ham that I'm feeding it? Why would it see the spam but not the ham? --ham *and* --spam ? -- John Hardin KA7OHZ

Re: Bayes isn't working

2007-06-18 Thread Martin Strand
On Mon, 18 Jun 2007 20:06:52 +0200, Rob Wright [EMAIL PROTECTED] wrote: sa-learn --ham -C /etc/mail/spamassassin --showdots --spam --no-sync Maildir/new Don't use the --spam flag when learning ham

Re: Bayes isn't working

2007-06-18 Thread Rob Wright
On Monday 18 June 2007 13:15, John D. Hardin wrote: On Mon, 18 Jun 2007, Rob Wright wrote: sa-learn --ham -C /etc/mail/spamassassin --showdots --spam --no-sync Maildir/new So, then, spamassassin isn't seeing the ham that I'm feeding it? Why would it see the spam but not the ham? --ham

Re: Bayes isn't working

2007-06-18 Thread Jerry Durand
At 11:15 AM 6/18/2007, Theo Van Dinter wrote: My guess is that you're learning into a different DB than the one you're trying to scan from. Do a learn with -D and then a dump with -D and compare. I had this problem with the default install on OS X, Apple in their infinite wisdom has two

mySQL bayes not working correctly

2007-06-10 Thread Peter Pluta
user_awl_sql_password vscan -- View this message in context: http://www.nabble.com/mySQL-bayes-not-working-correctly-tf3896467.html#a11046183 Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

RE: mySQL bayes not working correctly

2007-06-10 Thread Gary V
I'm running amavisd-new with spamassassin and setup bayes and mysql earlier today. It seems to connect to the db fine with user vscan when running spamassassin -d. I ran sa-learn --spam/ham spam.txt (full email headers too) a few times and those are the only entires in the db, the ones that I

Re: mySQL bayes not working correctly

2007-06-10 Thread Steven Stern
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gary V wrote: I'm running amavisd-new with spamassassin and setup bayes and mysql earlier today. It seems to connect to the db fine with user vscan when running spamassassin -d. I ran sa-learn --spam/ham spam.txt (full email headers too) a few

RE: mySQL bayes not working correctly

2007-06-10 Thread Peter Pluta
already has that directive. -- View this message in context: http://www.nabble.com/mySQL-bayes-not-working-correctly-tf3896467.html#a11049679 Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

RE: mySQL bayes not working correctly

2007-06-10 Thread Gary V
Gary V-2 wrote: I'm running amavisd-new with spamassassin and setup bayes and mysql earlier today. It seems to connect to the db fine with user vscan when running spamassassin -d. I ran sa-learn --spam/ham spam.txt (full email headers too) a few times and those are the only entires in the db,

RE: mySQL bayes not working correctly

2007-06-10 Thread Peter Pluta
_ Get a preview of Live Earth, the hottest event this summer - only on MSN http://liveearth.msn.com?source=msntaglineliveearthhm I will try that, what exactly is the gtube string? -- View this message in context: http://www.nabble.com/mySQL-bayes-not-working-correctly-tf3896467.html

Re: mySQL bayes not working correctly

2007-06-10 Thread Peter Pluta
-END PGP SIGNATURE- I see, I will take a look. I figured spamassassin did all the work for me, guess not. -- View this message in context: http://www.nabble.com/mySQL-bayes-not-working-correctly-tf3896467.html#a11049848 Sent from the SpamAssassin - Users mailing list archive

RE: mySQL bayes not working correctly

2007-06-10 Thread Gary V
I would run amavisd stop amavisd -d bayes debug-sa then send a message containing the gtube string through it. Send the message from the outside world (smtp), not from the local machine. See what amavisd-new thinks of Bayes. I will try that, what exactly is the gtube string? This is

Bayes not working

2006-05-10 Thread Steven Stern
On a new SA installation that's as identical to the other 3 we have running as possible, bayes is not running. spamassassin -D --lint indicates that all is normal. The test message generates a Bayes score. sa-learn is able to talk to the mysql database: We're able to update the database using

RE: Bayes not working

2006-05-10 Thread Greg Allen
PROTECTED] Sent: Wednesday, May 10, 2006 8:24 AM To: Spamass Subject: Bayes not working On a new SA installation that's as identical to the other 3 we have running as possible, bayes is not running. spamassassin -D --lint indicates that all is normal. The test message generates a Bayes score

Re: Bayes not working

2006-05-10 Thread Andy Spiegl
[3320] dbg: bayes: corpus size: nspam = 178, nham = 168 Probably because your corpus is still too small. man Mail::SpamAssassin::Conf ... bayes_min_ham_num(Default: 200) bayes_min_spam_num (Default: 200) To be accurate, the Bayes system does not activate

Re: Bayes not working

2006-05-10 Thread Steven Stern
Andy Spiegl wrote: [3320] dbg: bayes: corpus size: nspam = 178, nham = 168 Probably because your corpus is still too small. man Mail::SpamAssassin::Conf ... bayes_min_ham_num(Default: 200) bayes_min_spam_num (Default: 200) To be accurate, the Bayes

Re: Bayes not working

2006-05-10 Thread Michael Monnerie
On Mittwoch, 10. Mai 2006 16:01 Steven Stern wrote: I imported a corpus of about 2 messages total and it wasn't working. I blew it all away and started from scratch thinking that was the problem.  For now, local.cf has a minimum of 100 messages of each type. The current database exceeds

Re: Bayes not working

2006-05-10 Thread Steven Stern
Michael Monnerie wrote: On Mittwoch, 10. Mai 2006 16:01 Steven Stern wrote: I imported a corpus of about 2 messages total and it wasn't working. I blew it all away and started from scratch thinking that was the problem. For now, local.cf has a minimum of 100 messages of each type. The

Re: Bayes not working

2006-05-10 Thread Matt Kettler
Steven Stern wrote: Everything's tweaked to use root as the user. We do sitewide processing since this sits on an MX server. Do you use spamd? If so, it WILL NOT use root as the user. Ever. Period.

Is Bayes actually working?

2005-06-22 Thread Charles Read
IS labeled spam by spamassassin I have never noticed anything about the rules that flagged it as being spam saying anything about a Bayes rule being used. Is there anyway that I can test to see if Bayes is working? Any help is much appreciated! Thanks in advance! Charles Read http

Re: Is Bayes actually working?

2005-06-22 Thread Matt Kettler
. But when an email IS labeled spam by spamassassin I have never noticed anything about the rules that flagged it as being spam saying anything about a Bayes rule being used. Is there anyway that I can test to see if Bayes is working? Any help is much appreciated! If bayes is working, 90% or more

Re: Is Bayes actually working?

2005-06-22 Thread Graham Murray
Matt Kettler [EMAIL PROTECTED] writes: My guess is that your cron job is running as a different user than is used to scan your mail. So you're training into one database, but scanning using a different database. Or the cron job is only learning spam and the auto-learn has not yet learnt

Bayes not working

2004-09-29 Thread Robert Leonard
Title: Bayes not working I've deleted all my bayes databases and am trying to start the database from scratch.. I auto-learn.. For some reason SA sees 8 spams in the database but won't learn any more... What files does bayes need? I have the bayes_toks and bayes_seen files, but nothing

Re: Bayes not working

2004-09-29 Thread Matt Kettler
At 01:49 PM 9/29/2004, Robert Leonard wrote: I've deleted all my bayes databases and am trying to start the database from scratch.. I auto-learn.. For some reason SA sees 8 spams in the database but won't learn any more... What files does bayes need? I have the bayes_toks and bayes_seen files,

RE: Bayes not working

2004-09-29 Thread Gary Smith
then change it. Gary -Original Message- From: Matt Kettler [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 11:02 AM To: Robert Leonard; users@spamassassin.apache.org Subject: Re: Bayes not working At 01:49 PM 9/29/2004, Robert Leonard wrote: I've deleted all my bayes

RE: Bayes not working

2004-09-29 Thread Matt Kettler
At 02:15 PM 9/29/2004, Gary Smith wrote: BTW, something else to keep in mind. There is a gotcha for sa-learn. If you happened to be logged in as root when training then the journal file is owned by root and SA can no longer entries in bayes. Check the ownership of the file. If it's not owned by