Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

[Q] Writing rule for career opportunity type messages

 

 

First page Previous page 1 2 Next page Last page  View All SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


axb.lists at gmail

Jun 30, 2011, 9:29 AM

Post #26 of 29 (325 views)
Permalink
Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages [In reply to]

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)


junk4 at klunky

Jun 30, 2011, 11:51 AM

Post #27 of 29 (326 views)
Permalink
Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages [In reply to]

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


axb.lists at gmail

Jun 30, 2011, 12:03 PM

Post #28 of 29 (330 views)
Permalink
Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages [In reply to]

On 2011-06-30 20:51, JKL wrote:
> I finally sorted out the database so that it really had the rights it
> needed. ( /me coughs and hides in the corner. )

no worries.. we've all been there, at one time or another

>
> 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).

set it to autolearn, sit back and watch grow and score

> *** 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


http://spamassassin.apache.org/doc.html

"Version 3.3.x "

"Mail_SpamAssassin_Conf.txt"

search for "trusted_networks" & internal_networks

if that doesn't get you further...
the subject has been explained in hundred of msgs in the list archive.
(no going to start a new batch of them)

enjoy .-)


junk4 at klunky

Jun 30, 2011, 12:06 PM

Post #29 of 29 (332 views)
Permalink
Re: Bayes and mysql Was: [Q] Writing rule for career opportunity type messages [In reply to]

On 06/30/2011 09:03 PM, Axb wrote:
> On 2011-06-30 20:51, JKL wrote:
>> I finally sorted out the database so that it really had the rights it
>> needed. ( /me coughs and hides in the corner. )
>
> no worries.. we've all been there, at one time or another
>
>>
>> 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).
>
> set it to autolearn, sit back and watch grow and score
>
>> *** 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
>
> Axb <axb.lists [at] gmail>
> http://spamassassin.apache.org/doc.html
>
> "Version 3.3.x "
>
> "Mail_SpamAssassin_Conf.txt"
>
> search for "trusted_networks" & internal_networks
>
> if that doesn't get you further...
> the subject has been explained in hundred of msgs in the list archive.
> (no going to start a new batch of them)
>
> enjoy .-)
>
>
Cheers. Shall do!

Consider this thread closed.

First page Previous page 1 2 Next page Last page  View All SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.