You also might want to look at http://spamthrottle.qmail.ca/ . The patch integrates relatively cleanly with qmail-ldap, although you will need to do a bit of work by hand, and remove the default tarpit stuff.
It's a much better implementation of the tarpit concept, at least in my opinion, although it does create a bit of extra stuff on the filesystem. It tracks message counts over multiple TCP sessions from a single IP and increases the delay as the sending rate increases, allowing you to really hammer spammers while not hurting users that back off their sending rate. They also have something they call 'teergrubing' which is moderately cool, but which plays havoc with Outlook Express and other mail clients that don't support 'continuation lines' in SMTP. 1 mail per minute is a bit harsh (again, just my opinion). If you have users that send mail in a batch or offline mode you may really annoy them with that limit. Roland ----- Original Message ----- From: "Brendon Colby" <[EMAIL PROTECTED]> To: "Paulus Hendarwan" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 11, 2002 11:23 PM Subject: Re: How to limit user delivery ? > We had a few e-mail bombs not too long ago so I implemented tarpitting on our > servers (which I should have done long ago). I believe we allow 20 RCPT TOs > before we tarpit - 10 seconds between subsequent RCPT TOs. So far so good. > > Look in QLAPINSTALL at tarpitcount and tarpitdelay. I think this may help you. > > On Tue, Jun 11, 2002 at 04:47:06PM +0700, Paulus Hendarwan wrote: > > Dear qmail-ldap-ers, > > > > In order to greatly reduce mail bombing, I plan to implement a policy > > that > > in some amount of time, namely, 1 minute, only 1 (one) email delivery > > per connection is allowed by SMTP server (outgoing SMTP server). Number > > of concurrent connection ifself is OK if large i.e 1000. > > > > How to implement that policy on qmail ? > > Thanx before. > > > > > > Best Regards, > > Paulus Hendarwan > > > > -- > Brendon Colby > Systems Administrator > Midcontinent Communications >
