15 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: Greylisting?
FromSent OnAttachments
Lloyd ZusmanNov 11, 2005 7:10 pm 
Jay LeeNov 11, 2005 10:28 pm 
Lloyd ZusmanNov 12, 2005 7:25 am 
Mike HorwathNov 12, 2005 10:39 am 
Mike HorwathNov 12, 2005 10:41 am 
Oliver JusingerNov 12, 2005 11:03 am 
Mike HorwathNov 12, 2005 11:28 am 
Oliver JusingerNov 15, 2005 2:33 am 
Steve JacobsonNov 15, 2005 10:00 am 
Mike HorwathNov 15, 2005 10:02 am 
Mark BucciarelliNov 15, 2005 12:07 pm 
Lloyd ZusmanNov 15, 2005 1:50 pm 
Jerry AmundsonNov 16, 2005 9:39 am 
Jay LeeNov 16, 2005 9:46 am 
Mark BucciarelliNov 17, 2005 8:42 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Re: Greylisting?Actions...
From:Mark Bucciarelli (ma@gaiahost.coop)
Date:Nov 17, 2005 8:42:39 am
List:net.sourceforge.lists.courier-users

On Tue, Nov 15, 2005 at 03:07:36PM -0500, Mark Bucciarelli wrote:

On Tue, Nov 15, 2005 at 09:59:44AM -0800, Steve Jacobson wrote:

So, does anyone have a good greylisting plugin for Courier already developed and ready to share?

mta-independent, pf-based: http://www.bsdcan.org/2005/activity.php?id=63

Here's a link to the original BSDCan presentation [1].

The more I read about this, the better it looks. :)

Summary:

- tar pit (1 byte/sec, TCP Windows size=1 response to blacklisted host)

- greylisting

- greytrapping (spamtrap addresses greylisted hosts cannot mail to)

- initial ten second stutter (to greylisted connections) then full speed

- efficient:

- author's site services 1 million smtp connections/day,

- spamd creates 50,000 to 70,000 greylist tuples every four hours,

- there are 120,000 entries in whitelist

- spamd + pf run on a 1U Dell Power Edge 1650 (stock: PIII 1.3 GHz, 512 MB RAM)

- previous approach (sendmail milter w/ mysql) brought a "beefy box to it's knees."

- approx 60% reduction in smtp sessions

- secure (author is part of openbsd project. Also, the postfix greylisting logic had a remote exploit at some point.)

- simple cluster (pf can use "round robin" redirect to send whitelisted connections to a cluster of mail procesors)

The thought of sending 1 byte per second to spammers makes me very happy. Unfortunately, spammers are smart and now disconnect more quickly--the stuttering was implemented to try and still give them some pain.

m

[1] http://www.openbsd.org/papers/bsdcan05-spamd/