Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] is this a DoS?

2004-05-26 by Emmanuel Dreyfus

On Wed, May 26, 2004 at 05:43:16PM +0200, Jacques Beigbeder wrote:
> May be but...
> If I look at my setting, I estimate there are 100 more SMTP connections
> per user per day due to greylisting. For a site with 5000 users (my
> case), this means that 200.000 SMTP connections per day will become
> 700.000... 

When you count 200k connections per day, do you count everything, or
everything minus spam and viruses?

If it's everything, then most of your connections won't be retried because
of greylisting, since spam and viruses never retry. So you don't jump to
700k. 

How many connections are legitimate mail on your system? That's the key 
point. I'd say it's less than 10% on my servers.

> My mail server will have 10 connections per second all
> along the day, and also 10 records written in database every second.
> (any SMTP connection ends in database, as new or as refreshed).
> The database will be many (100?) Mb...

That's getting really big. 10 modifications per second are alright provided 
you don't dump on each change (you need milter-greylist-1.3.3 or a patch
to avoid that). The greylist is just a chained list in RAM, so that should
be quite fast.

FWIW, 215 users asked for greylisting on my site, and my greylist database
is 1MB big. Assuming your users have the same usage as mine, with 5000
users, you'll have a 25MB database. Sounds okay, if you dump it every 10
minutes.

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