Re: Bayes not running but no errors

2008-03-20 Thread John Hardin
On Thu, 20 Mar 2008, Mitchell Hudson wrote: I'm sorry I should have responded to you directly, I did try both, but encountered the same problem. It'll connect to the database and learn/store tokens, just won't compare against them. Have you tried running a database trace utility to verify (1)

Re: Bayes not running but no errors

2008-03-20 Thread Alex Woick
Leveau Stanislas schrieb am 19.03.2008 19:39: Can you show us your spamassassin configuration : local.cf My configuration is working very well, and it is this: (running under Fedora 7, with a remote Windows MySql 5.0.37 server). whitelist_bounce_relays lxrouter.wombaz.localnet *.prima.de tru

Re: Bayes not running but no errors

2008-03-20 Thread Mitchell Hudson
I'm sorry I should have responded to you directly, I did try both, but encountered the same problem. It'll connect to the database and learn/store tokens, just won't compare against them. Thanks again! --Mitch LEVEAU Stanislas wrote: i think in your local.cf it s not Mail::SpamAssassin::Baye

Re: Bayes not running but no errors

2008-03-20 Thread LEVEAU Stanislas
i think in your local.cf it s not Mail::SpamAssassin::BayesStore::*SQL * but Mail::SpamAssassin::BayesStore::*MySQL* tries this Mitchell Hudson a écrit : Hmm... I was checking around and I found a bug with apache that might be related, but wanted to run it by here first: The bug is here: https

Re: Bayes not running but no errors

2008-03-19 Thread Mitchell Hudson
Hmm... I was checking around and I found a bug with apache that might be related, but wanted to run it by here first: The bug is here: https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5728 and is related to spamd using -u in conjunction with -q and/or -Q I'm calling spamd with this comman

Re: Bayes not running but no errors

2008-03-19 Thread Mitchell Hudson
I tried both just to be sure, but neither changed the messages when I did a --lint. I noticed your dsn line was different than mine, so I tried changing it to localhost from :bayes_sql_dsn DBI:mysql:spamassassin:mysql_socket=/var/lib/mysql/mysql.sock But then it just didn't con

Re: Bayes not running but no errors

2008-03-19 Thread Mitchell Hudson
Hope this helps: # mysql -V mysql Ver 14.12 Distrib 5.0.44, for pc-linux-gnu (i686) using readline 4.3 It would be nice if it was a mysql problem, those are usually easy enough to fix, but I couldn't find any bugs related to what I'm seeing, though I could certainly have missed something. L

Re: Bayes not running but no errors

2008-03-19 Thread Leveau Stanislas
My conf for an old mysql version bayes_store_module              Mail::SpamAssassin::BayesStore::SQL bayes_sql_dsn                   DBI:mysql:spam:localhost for a recent mysql version bayes_store_module              Mail::SpamAssassin::BayesStore::MYSQL bayes_sql_dsn                   DBI:mys

Re: Bayes not running but no errors

2008-03-19 Thread Mitchell Hudson
Sure, I'll repaste the bayes portion, and include the rest of the file for good measure. Thanks again! # SpamAssassin config file for version 3.2x # Loading SpamAssassin User Preferences From An SQL Database user_scores_dsn DBI:mysql:spamassassin:mysql_socket=/var/lib/mysql/mysql.

Re: Bayes not running but no errors

2008-03-19 Thread Leveau Stanislas
Hi Can you show us your spamassassin configuration : local.cf Thanks Mitchell Hudson schrieb am 19.03.2008 18:18: I have a few questions though, you said I am not using bayes_sql_override_username but I have "bayes_sql_override_username spamassassin " in my config, does that not co

Re: Bayes not running but no errors

2008-03-19 Thread Mitchell Hudson
Alex Woick wrote: Mitchell Hudson schrieb am 19.03.2008 18:18: I have a few questions though, you said I am not using bayes_sql_override_username but I have "bayes_sql_override_username spamassassin " in my config, does that not count? I'm sorry, I overlooked that. Yes, in the configuratio

Re: Bayes not running but no errors

2008-03-19 Thread Alex Woick
Mitchell Hudson schrieb am 19.03.2008 18:18: I have a few questions though, you said I am not using bayes_sql_override_username but I have "bayes_sql_override_username spamassassin " in my config, does that not count? I'm sorry, I overlooked that. Yes, in the configuration that you posted

Re: Bayes not running but no errors

2008-03-19 Thread Jari Fredriksson
> Mitchell Hudson schrieb am 18.03.2008 23:59: > >> #From local.cf: >> bayes_sql_override_username spamassassin > > You are NOT using bayes_sql_override_username , > that means you are using a per-user bayes filter. You > probably call spamc with -u , so every > has its own set of tokens learne

Re: Bayes not running but no errors

2008-03-19 Thread Mitchell Hudson
Thank you so much for the help. I have a few questions though, you said I am not using bayes_sql_override_username but I have "bayes_sql_override_username spamassassin " in my config, does that not count? As well I tried setting the min_ham and min_spam to 1 just for a short test, and took

Re: Bayes not running but no errors

2008-03-19 Thread Alex Woick
Mitchell Hudson schrieb am 18.03.2008 23:59: Simply it's not scoring, it leanrs, but doesn't put a score on any mail. #spamassassin -D --lint [23822] dbg: bayes: using username: spamassassin [23822] dbg: bayes: database connection established [23822] dbg: bayes: found bayes db version 3 [2382