[Mimedefang] greylisting stats

David F. Skoll dfs at roaringpenguin.com
Thu Dec 11 10:23:29 EST 2003


On Thu, 11 Dec 2003, Kenneth Porter wrote:

> > However, I have a question.  Before implementing this, I had never worked
> > with the Berkeley DB format before.  In reading about it, it looks to me
> > that you can only have one value per key.  Is that true?  If so, I would
> > assume that you would have to use a relational DB like MySQL in order to
> > get anymore.

> I would guess the same way that more than one thing is used for the key:
> Paste them all together with a delimiter and use a Perl regex to extract
> the pieces later.

Right.  That's the simplest way.  A more complex way is to use more than
one DB file, but it's probably slower and definitely uses more disk space
to do it that way.

Regards,

David.



More information about the MIMEDefang mailing list