[SAtalk] Bayes Database Corruption (possibly)

2004-01-28 Thread Rick Mallett
I've got my bayes database files in a tmpfs filesystem and I wanted to back them up every hour via cron so that I would have something to start from in the event of a system crash, so I wrote a script to lock and copy them and I decided to throw in a db_verify just to be sure I had a good copy. Wha

Re: [SAtalk] Bayes database per Domain

2004-01-21 Thread Jesse Regier
On 21 Jan 2004 at 13:01, Douglas Kirkland wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wednesday 21 January 2004 11:59, Jesse Regier wrote: > > Is there a way to have Spamassassin use a seperate bayes database for > > each local domain or group of domains? > > > > It would be

Re: [SAtalk] Bayes database per Domain

2004-01-21 Thread Douglas Kirkland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 21 January 2004 11:59, Jesse Regier wrote: > Is there a way to have Spamassassin use a seperate bayes database for > each local domain or group of domains? > > It would be nice to have something like... > > bayes_path = /var/spool/$DOMA

[SAtalk] Bayes database per Domain

2004-01-21 Thread Jesse Regier
Is there a way to have Spamassassin use a seperate bayes database for each local domain or group of domains? It would be nice to have something like... bayes_path = /var/spool/$DOMAIN_bayes in the spamassassin.cf file. $DOMAIN would be replaced with the domain from the current recipeint addre

[SAtalk] Bayes database expiry running forever?

2004-01-10 Thread Michael Jacob
Hi, something seems to be wrong with my bayes db, or is this considered 'normal'? Log: debug: Score set 0 chosen. debug: running in taint mode? yes debug: Running in taint mode, removing unsafe env vars, and resetting PATH debug: PATH included '/opt/perl/bin', keeping. debug: PATH included '/bin'

RE: [SAtalk] Bayes database stats

2003-12-13 Thread Matthew . van . Eerde
[EMAIL PROTECTED] > Subject: [SAtalk] Bayes database stats > > > Today I have dumped my bayes db and calculate some statistics. > > 742753 - total number of words in it > 515654 - total number of words which have been seen only once > 80485 - ... twice > 35325 - ... 3 t

[SAtalk] Bayes database stats

2003-12-13 Thread Alexander Litvinov
Today I have dumped my bayes db and calculate some statistics. 742753 - total number of words in it 515654 - total number of words which have been seen only once 80485 - ... twice 35325 - ... 3 times This statistics shows that most of the db us not used, just eating my hard drive (44 MB to

Re: [SAtalk] bayes database size

2003-11-26 Thread Scot E. Wilcoxon
> Yes, that size seems way out of line. It should be using about 30~50 > bytes per token, assuming typical token size. > According to your 'non-token data: ntokens' that bayes_toks file should > be using about 5~6 Mbytes; unless something is whacko, or you have some > -very- large tokens in there.

Re: [SAtalk] bayes database size

2003-11-26 Thread Theo Van Dinter
On Wed, Nov 26, 2003 at 04:42:07PM +0900, alan premselaar wrote: > My bayes database seems excessively large at 967M: > > -rw-rw-rw-1 defang defang 967M Nov 26 15:58 bayes_toks Hrm. Yes, that is rather large. I would try forcing an expire and see if that helps. If not, I'd see if t

Re: [SAtalk] bayes database size

2003-11-26 Thread Robert Menschel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello alan, Tuesday, November 25, 2003, 11:42:07 PM, you wrote: ap> I've recently noticed something I think is a little strange but I'd ap> like to confirm it with the list. ap> My bayes database seems excessively large at 967M: Yes, this seems exc

Re: [SAtalk] bayes database size

2003-11-26 Thread alan premselaar
On 2003/11/26, at 19:22, David B Funk wrote: ...snip... Yes, that size seems way out of line. It should be using about 30~50 bytes per token, assuming typical token size. According to your 'non-token data: ntokens' that bayes_toks file should be using about 5~6 Mbytes; unless something is whacko, o

Re: [SAtalk] bayes database size

2003-11-26 Thread David B Funk
On Wed, 26 Nov 2003, alan premselaar wrote: > I've recently noticed something I think is a little strange but I'd > like to confirm it with the list. > > My bayes database seems excessively large at 967M: > > -rw-rw-rw-1 defang defang61k Nov 26 16:34 bayes_journal > -rw-rw-rw-1 d

Re: [SAtalk] bayes database size

2003-11-26 Thread Mark
- Original Message - From: "alan premselaar" <[EMAIL PROTECTED]> To: "Spam Assassin" <[EMAIL PROTECTED]> Sent: Wednesday, November 26, 2003 9:27 AM Subject: [SAtalk] bayes database size > I've recently noticed something I think is a little stran

Re: [SAtalk] bayes database size

2003-11-26 Thread Mark
- Original Message - From: "alan premselaar" <[EMAIL PROTECTED]> To: "Spam Assassin" <[EMAIL PROTECTED]> Sent: Wednesday, November 26, 2003 9:27 AM Subject: [SAtalk] bayes database size > I've recently noticed something I think is a little stran

[SAtalk] bayes database size

2003-11-26 Thread alan premselaar
I've recently noticed something I think is a little strange but I'd like to confirm it with the list. My bayes database seems excessively large at 967M: -rw-rw-rw-1 defang defang61k Nov 26 16:34 bayes_journal -rw-rw-rw-1 defang defang 624k Nov 26 15:58 bayes_seen -rw-rw

[SAtalk] Bayes database corruption

2003-09-30 Thread Federico Giannici
We are testing SpamAssassin 2.60 since a couple of weeks (initially an RC). Yesterday I noticed same strange error message and found a problem with the bayes database. I tried to rebuild it with "sa-learn --rebuild" but the following error appears : bayes expire_old_tokens: panic: sv_setpvn cal

[SAtalk] Bayes database. What user, where to store?

2003-08-22 Thread Danny Aldham
I have created a BAYES token database by running sa-learn as root. It created the database in /root/.spamassassin . When I run spamd as root it finds the db but logs constant errors like: spamd[7021]: cannto write to /root/.spamassassin/bayes_msgcount , Bayes db update ignored. I tried moving it

[SAtalk] Bayes Database Size

2003-07-31 Thread Dan Jones
Title: Bayes Database Size I am wondering if there is a setting to increase the size of the bayes database. I am using a shared database for bayes learning and would like the database to learn more so that it is more reliable for all users without setting up individual scanning. Dan Jones

Re: [SAtalk] Bayes database marge

2003-07-09 Thread Theo Van Dinter
On Wed, Jul 09, 2003 at 01:53:13PM -0500, Mark Jenks wrote: > Funny, I just moved my 1.85 Berkeley DB to Version 7 doing is this way. > (except I had to use db-dump185) Updating your DB is one thing. Merging 2 DBs together is completely different. I doubt the db-file utils understand merging to

Re: [SAtalk] Bayes database marge

2003-07-09 Thread Mark Jenks
Funny, I just moved my 1.85 Berkeley DB to Version 7 doing is this way. (except I had to use db-dump185) -Mark Theo Van Dinter wrote: On Wed, Jul 09, 2003 at 01:36:17PM -0500, Mark Jenks wrote: I would think that you would be able to do something like: db_dump -f bayes-1.dump bayes-1 db_dum

Re: [SAtalk] Bayes database marge

2003-07-09 Thread Michael Parker
On Wed, Jul 09, 2003 at 01:38:41PM -0400, Theo Van Dinter wrote: > On Wed, Jul 09, 2003 at 10:18:28AM -0700, Marek Dohojda wrote: > > Is it possible to merge two bayes databases into one? I have two mailservers > > Possible? Yes. However, there are no tools currently available to do > this, so y

Re: [SAtalk] Bayes database marge

2003-07-09 Thread Mark Jenks
I would think that you would be able to do something like: db_dump -f bayes-1.dump bayes-1 db_dump -f bayes-2.dump bayes-2 cat bayes-1.dump bayes-2.dump > bayes.merge db_load -f bayes.merge bayes-new cp bayes-new bayes-1 cp bayes-new bayes-2 -Mark Theo Van Dinter wrote: On Wed, Jul 09, 2003 at 1

Re: [SAtalk] Bayes database marge

2003-07-09 Thread Theo Van Dinter
On Wed, Jul 09, 2003 at 01:36:17PM -0500, Mark Jenks wrote: > I would think that you would be able to do something like: > > db_dump -f bayes-1.dump bayes-1 > db_dump -f bayes-2.dump bayes-2 > cat bayes-1.dump bayes-2.dump > bayes.merge > db_load -f bayes.merge bayes-new > cp bayes-new bayes-1 > c

RE: [SAtalk] Bayes database marge

2003-07-09 Thread Marek Dohojda
Hmmm how would I go about writing a tool such as this? Sorry I don't have much information on this. Where can I find the stracture of this database? (sorry if this is FAQ). Yeah well maybe I want to sink my databases ;) syncing them is way too much work. -Original Message- From: Theo Va

Re: [SAtalk] Bayes database marge

2003-07-09 Thread Theo Van Dinter
On Wed, Jul 09, 2003 at 10:18:28AM -0700, Marek Dohojda wrote: > Is it possible to merge two bayes databases into one? I have two mailservers Possible? Yes. However, there are no tools currently available to do this, so you'd have to write them yourself. > learning the databases are quite a bit

[SAtalk] Bayes database marge

2003-07-09 Thread Marek Dohojda
Hello everyone. I asked this question earlier but didn't get a respond. Is it possible to merge two bayes databases into one? I have two mailservers that are filtering spam, and because of self learning as well as forced learning the databases are quite a bit out of sink. I would like to be able

[SAtalk] Bayes Database.

2003-07-01 Thread Marek Dohojda
Hello everyone Is there a way to merge two bayes databes into one? I have two spam assassin servers running (quite well I might add) however their Bayes databases are out of sink. I can not run something like an NFS share between them, and therefore can't use one. What I would like to do is

Re: [SAtalk] Bayes database

2003-02-21 Thread Ray Dzek
Okay .. I found tools, no problem... But .. since SA runs as a non-privledged user with no logon on a site-wide install, how do you run the tools to see what that db has in it? SA wants to see the db under /root/.spamassassin. SA runs as the user "filter" which has no logon. Ray