RE: [Mimedefang] greylist db size limit?

2004-04-23 Thread Paul Murphy
Gary,

> Ok, let's just say that you never quite got around to running 
> the greylist db cleaner.  Is there a limit to the size that 
> the greylist db can get?  Mine suspiciously seems to have 
> topped out at 1024, and didn't seem to want to get any bigger

There's no hardcoded size limit as far as I know, but it depends on which DBM
implementation you are using.  Some are better than others.

> On top of that, trying to run the greylist cleaner, while it said 
> that it removed 4000+ entries, didn't affect the size of the db.

The DB files are set up for random access, so all the cleaner does is poke holes
in it which are then available for re-use in future.  To physically shrink the
file, you'd have to write something in Perl which created two DBM tied hashes,
copied the contents of the live one to the backup, and untied the hashes.  Then,
backup the old file and move the new file over it.

Best Wishes,

Paul.
__
Paul Murphy
Head of Informatics
Ionix Pharmaceuticals Ltd
418 Science Park, Cambridge, CB4 0PA

Tel. 01223 433741
Fax. 01223 433788



___
DISCLAIMER:
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to which they
are addressed.  If you have received this email in error please contact
the sender or the Ionix IT Helpdesk on +44 (0) 1223 433741
___ 

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


[Mimedefang] greylist db size limit?

2004-04-23 Thread Gary Schrock
Ok, let's just say that you never quite got around to running the greylist 
db cleaner.  Is there a limit to the size that the greylist db can 
get?  Mine suspiciously seems to have topped out at 1024, and didn't 
seem to want to get any bigger (and in fact, I had some mail that kept 
bouncing as if it was new to the greylist, which seemed a bit odd).  On top 
of that, trying to run the greylist cleaner, while it said that it removed 
4000+ entries, didn't affect the size of the db.

I'm using Jonas Eckerman's implementation of greylist on Freebsd if that 
makes any difference.

Gary Schrock
[EMAIL PROTECTED]
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang