spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Chaney <m...@lists.macscr.com>
Subject Re: lint import doesnt appear to be complete
Date Wed, 20 Feb 2013 19:59:12 GMT
Whoops, my title is wrong. I meant Bayes import does not appear 
complete. Obviously lint isnt going to work until it has 200 as you 
mentioned, but thats why I am trying to do these imports from backups.

On 2013-02-20 13:56, Jeremy McSpadden wrote:
> Feb 20 13:47:47.999 [11459] dbg: bayes: not available for scanning,
> only 1 spam(s) in bayes DB < 200
>
> Need 200 before bayes kicks in
>
>  --
>  Jeremy McSpadden
>  Flux Labs, Inc | http://www.fluxlabs.net [1] | Endless Solutions
>  Office : 850-250-5590x101 [2] | Cell : 850-890-2543 [3] | Fax :
> 850-254-2955 [4]
>
>  On Feb 20, 2013, at 1:52 PM, "Mark Chaney" <mail@lists.macscr.com> 
> wrote:
>
>> SpamAssassin version 3.3.1
>> running on Perl version 5.10.1
>>
>> So Ive setup bayes to use a postgresql db:
>>
>> bayes_store_module Mail::SpamAssassin::BayesStore::PgSQL
>> bayes_sql_dsn DBI:Pg:dbname=sa_bayes;host=localhost
>> bayes_sql_username sa_user
>> bayes_sql_password xxxxxxxxx
>> bayes_sql_override_username root
>>
>> spamassassin -x -D -p /etc/MailScanner/spam.assassin.prefs.conf 
>> --lint snippet:
>>
>> Feb 20 13:47:47.908 [11459] dbg: bayes: learner_new 
>> self=Mail::SpamAssassin::Plugin::Bayes=HASH(0x4ab1d70), 
>> bayes_store_module=Mail::SpamAssassin::BayesStore::PgSQL
>> Feb 20 13:47:47.987 [11459] dbg: bayes: using username: root
>> Feb 20 13:47:47.987 [11459] dbg: bayes: learner_new: got 
>> store=Mail::SpamAssassin::BayesStore::PgSQL=HASH(0x53c0b78)
>> Feb 20 13:47:47.987 [11459] dbg: plugin: 
>> Mail::SpamAssassin::Plugin::Bayes=HASH(0x4ab1d70) implements 
>> 'learner_is_scan_available', priority 0
>> Feb 20 13:47:47.994 [11459] dbg: bayes: database connection 
>> established
>> Feb 20 13:47:47.997 [11459] dbg: bayes: found bayes db version 3
>> Feb 20 13:47:47.998 [11459] dbg: bayes: Using userid: 1
>> Feb 20 13:47:47.999 [11459] dbg: bayes: not available for scanning, 
>> only 1 spam(s) in bayes DB < 200
>> Feb 20 13:47:48.000 [11459] dbg: config: score set 0 chosen.
>> Feb 20 13:47:48.000 [11459] dbg: message: main message type: 
>> text/plain
>> Feb 20 13:47:48.000 [11459] dbg: message: ---- MIME PARSER START 
>> ----
>> Feb 20 13:47:48.000 [11459] dbg: message: parsing normal part
>> Feb 20 13:47:48.001 [11459] dbg: message: ---- MIME PARSER END ----
>> Feb 20 13:47:48.001 [11459] dbg: plugin: 
>> Mail::SpamAssassin::Plugin::DNSEval=HASH(0x4ba3ce8) implements 
>> 'check_start', priority 0
>> Feb 20 13:47:48.011 [11459] dbg: bayes: database connection 
>> established
>> Feb 20 13:47:48.011 [11459] dbg: bayes: found bayes db version 3
>> Feb 20 13:47:48.014 [11459] dbg: bayes: Using userid: 1
>> Feb 20 13:47:48.015 [11459] dbg: bayes: not available for scanning, 
>> only 1 spam(s) in bayes DB < 200
>> Feb 20 13:47:48.016 [11459] dbg: plugin: 
>> Mail::SpamAssassin::Plugin::Check=HASH(0x4a7c7a0) implements 
>> 'check_main', priority 0
>> Feb 20 13:47:48.016 [11459] dbg: config: trusted_networks are not 
>> configured; it is recommended that you configure trusted_networks 
>> manually
>>
>> But when I try to import, it goes seems to take awhile and finish 
>> (the bayes txt is only 8MB), but the resulting postgres table is only 
>> 65 tokens and the rest the tables are empty. When i export the data 
>> from the db, its only 1kb.
>>
>> Am i missing something?
>>
>> Thanks,
>> Mark
>
>
> Links:
> ------
> [1] http://www.fluxlabs.net/
> [2] tel:850-250-5590;101
> [3] tel:850-890-2543
> [4] tel:850-254-2955

Mime
View raw message