Re: new spamprobe BerkeleyDB on CygWin

Brian Burton <[email protected]>
Newsgroups gmane.mail.spam.spamprobe.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sep 30, 2005, at 11:46 AM, Herb Martin wrote:
> Sorry, Brian I should have been more clear (thinking
> it was obvious when it is not was my fault) by saying
> this was a single fairly short message used MERELY
> to create the files.

Hmm.  Well clearly that's not proper behavior of the software :-)  In  
no way should SP be spinning its wheels on a tiny email message.   
Some questions that come to mind:

1. Is this completely reproducible?

2. Does it happen with that same message if you process it once the  
database already exists?

3. Does it happen with an empty message?  i.e. spamprobe good /dev/null

I'm to the point now that my general advice to people who use  
BerkeleyDB is to switch to PBL (if possible) or the hash format.  I'd  
like to implement a 64 bit hash database in the next release to  
mitigate the potential hash collision lossage issue for anyone who  
worries about such things.   I've been using the 32 bit hash database  
on my own email for months now without any incidents.


> The system is a reasonably fast, not cutting edge, 2 Ghz
> Celeron with 1 MB of RAM.

That's a lot faster than my own mail server and I haven't seen this  
particular problem.


> Something is wrong -- it is likely something that I have
> done (or not done) and/or the combination of CygWin,
> Win2003 server, and SpamProbe since you presumably don't
> have this problem usually AND CygWin runs most "Linux/GNU"
> like software flawlessly (Exim, SpamAssassin, CRM114 are
> among my production components.)

I think it's most likely something to do with the BerkeleyDB  
implementation in cygwin although it's entirely possible that I am  
mis-using the 6 or so API calls I'm making.


> Biggest problem for me initially was figuring out how
> to "create a database" (that READ only thing drove me
> nuts until I reviewed the archives of this list.)

Yes.  I should add a "create" command or else cause the -c option to  
force read-write mode.  I also need to write a separate document for  
new users about importing.  The README is serving too many audiences  
(it's a changelog, man page, intro, and a desert topping).


> BTW, today I passed my first 24 hours without a single
> SPAM with no FPs.  No spam even in the server 'spam catch'
> accounts. Nothing, nada, nichts....(30+ hours right now.).

Excellent!

All the best,
++Brian

- --
Brian Burton                     Author of SpamProbe
Burton Computer Corporation      Custom Software Development (Java/C++)
http://www.burton-computer.com   PGP Emails Welcome (key id 0x097D7205)




-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2425)

iQEVAwUBQ0rA3zxRyEoJfXIFAQjgHwf+L6Ybq6UzbxBSHP7ZOhvrVa9Y+MbqqFki
z67D+mPg8PgZcFX2UmNO4GqGHyZgxB6s2s5kTn3rP26jRRD3UTzeJxbevhVGpNvu
SKSu6XexCu7G/14kB71TgK8WCuuHptnI6S2nSQFT1+svvNBqAFezWV+fJ1FxC5+L
bIK72tzniC0C/WQI0sF+OkmNvK0jj9sm8fN6RpCR9+xoxFeZMMcq4jAvOXFHhe6Z
wFpd18AEnfD0e2SLGWS4Q0CYOy//9fQyX+oeFEjHsgL2ZctT2WRo1HLyRhGgi/T1
G2ZbTyRXS3FdORdOTCO+OZPx31du7gkABtHh2PPdxskWM8/jRaIE2A==
=8y0m
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.