On 06/30/2011 06:29 PM, Axb wrote: > Your debug data sez: > > On 2011-06-30 18:19, J4K wrote: >> Learned tokens from 0 message(s) (1 message(s) examined) > > permissions? > > -D will usually give you a good pointer on what's going on. > (thanks JM for beating that into my single cell brain) Hi,
You have one more brain cell than I have. Thank-you for getting me to use the -D option. I finally sorted out the database so that it really had the rights it needed. ( /me coughs and hides in the corner. ) # sa-learn --dump magic 0.000 0 3 0 non-token data: bayes db version 0.000 0 8 0 non-token data: nspam 0.000 0 2645 0 non-token data: nham 0.000 0 125244 0 non-token data: ntokens 0.000 0 1085514555 0 non-token data: oldest atime 0.000 0 1309458529 0 non-token data: newest atime 0.000 0 0 0 non-token data: last journal sync atime 0.000 0 0 0 non-token data: last expiry atime 0.000 0 0 0 non-token data: last expire atime delta 0.000 0 0 0 non-token data: last expire reduction count I have passed several hundred pieces of spam messages into the dB. However it says that there is less than 200 spam messages (8 to be precise). Jun 30 20:48:08.430 [4218] dbg: bayes: using username: spamd Jun 30 20:48:08.430 [4218] dbg: bayes: learner_new: got store=Mail::SpamAssassin::BayesStore::MySQL=HASH(0x3db1448) Jun 30 20:48:08.431 [4218] dbg: plugin: Mail::SpamAssassin::Plugin::Bayes=HASH(0x4438cf0) implements 'learner_is_scan_available', priority 0 Jun 30 20:48:08.433 [4218] dbg: bayes: database connection established Jun 30 20:48:08.433 [4218] dbg: bayes: found bayes db version 3 Jun 30 20:48:08.434 [4218] dbg: bayes: Using userid: 187 Jun 30 20:48:08.434 [4218] dbg: bayes: not available for scanning, only 8 spam(s) in bayes DB < 200 Jun 30 20:48:08.434 [4218] dbg: config: score set 0 chosen. Jun 30 20:48:08.434 [4218] dbg: message: main message type: text/plain Jun 30 20:48:08.435 [4218] dbg: message: ---- MIME PARSER START ---- Jun 30 20:48:08.435 [4218] dbg: message: parsing normal part Jun 30 20:48:08.435 [4218] dbg: message: ---- MIME PARSER END ---- Jun 30 20:48:08.435 [4218] dbg: plugin: Mail::SpamAssassin::Plugin::DNSEval=HASH(0x44c5480) implements 'check_start', priority 0 Jun 30 20:48:08.435 [4218] dbg: plugin: Mail::SpamAssassin::Plugin::Rule2XSBody=HASH(0x4600b60) implements 'check_start', priority 0 Jun 30 20:48:08.448 [4218] dbg: bayes: database connection established Jun 30 20:48:08.448 [4218] dbg: bayes: found bayes db version 3 Jun 30 20:48:08.448 [4218] dbg: bayes: Using userid: 187 Jun 30 20:48:08.449 [4218] dbg: bayes: not available for scanning, only 8 spam(s) in bayes DB < 200 Jun 30 20:48:08.449 [4218] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x4408480) implements 'check_main', priority 0 Jun 30 20:48:08.449 [4218] dbg: config: trusted_networks are not configured; it is recommended that you configure trusted_networks manually *** On another note: I noticed in the debug output that it mentioned the trusted networks bit, of which there are none other than the email server itself: config: trusted_networks are not configured; it is recommended that you configure trusted_networks manually Is it worth putting the servers IP address in the confuration? local.cf: trusted_networks my.ip.addr.ess