Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Questions about greylist.db file...

2005-10-27 by Emmanuel Dreyfus

On Thu, Oct 27, 2005 at 02:14:19AM +0400, Ogogon !!! wrote:
> 1. Why in a file greylist.db the text  list, instead of dbm-hash is used?
> At me in it more than two hundred thousand records. At such quantity of 
> dbm-structure give appreciable increase in productivity.

Some time ago, I tries converting milter-greylist to use a DB style file,
but it was not possible to have a strong garantee that the file would not
be currupted if the milter died during operation. The current scheme ensures
that the text dump is never corrupted.

Moreover, does your machine throttle because of the file size? Mine has 
92268 lines in greylist.db, load is 0.30.

Bigger setups would benefit from alternative storage backends. There have
been discussions about this last week on the list, but nobody seems to 
be in such a need for the feature, since nobody volunteered to work on it :-) 

> 2. Why at registration of the incoming letters in greylist.db such 
> convenient parameter, how Message-ID is not used?

Good question: why not use Message-ID? Anyone has an idea?
-- 
Emmanuel Dreyfus
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.