Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] milter-greylist scalibility/performances : 10.000 to 20.000 email addresses

2004-08-03 by Emmanuel Dreyfus

On Tue, Aug 03, 2004 at 11:19:30AM +0200, milter@... wrote:
> milter-greylist seems mature but I'm wondering about scalibility.
> I'm thinking about deploying it for some 10.000/20.000 existing
> email addresses (4 SMTP mail-gateways).
> Will milter-greylist work in such a context ?

The question is not about the number of addresses, but about the number
of messages.

> I'm worried about memory needed/usage and performances ...

You need the memory to hold the whole greylist database. I had a good
idea of the memory used before the IPv6 patch. Now, the p_addr field
in struct pending is holding some space I have trouble to evaluate.

Apart from that, each message eats 92 bytes. 

The only real performance problem we have is when we dump the database.
If it gets really big it could take some time to flush it to disk, but
you can do it every 10 minutes if you want.

> At first before consider setting-up milter-greylist I'm trying to identify known
> partners/mailing-list mailservers to whitelist to avoid
> delays with important messages.
> No performance problem with using a hundred "domain" statements ?

No, it should be okay. There is no DNS lookup caused by theses statements. 
You only pay the longer walk in the chained list, but for 100 items, it's
still very cheap.

It eats memory, but that should be okay too.

-- 
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.