On 2007-09-04 10:25:49 -0700, Ask Bjørn Hansen wrote: > On Sep 4, 2007, at 10:16, Hanno Hecker wrote: > >some annoying clients tried to abuse one of my systems as open relay. > >Each of them did more than 350 attempts before giving up... Now > >they're > >forced to stop after 10 attempts ;-) > >Any objections against the attached diff? > > It'd be more appropriate in a separate plugin, no?
I think so. In fact I wrote a very similar plugin for my qpsmtpd tutorial in 2004: http://www.hjp.at/projekte/qpsmtpd/tutorial.rxml But it seems I neglected to put that into the svn repository. It's now at http://svn.perl.org/qpsmtpd/contrib/hjp/count_denies (actually, I think that's a candidate for the main plugins directory, but I should probably clean it up a bit - apparently I changed the log levels from numbers to symbolic constants at some point but it's probably still a bit rough). hp -- _ | Peter J. Holzer | I know I'd be respectful of a pirate |_|_) | Sysadmin WSR | with an emu on his shoulder. | | | [EMAIL PROTECTED] | __/ | http://www.hjp.at/ | -- Sam in "Freefall"
signature.asc
Description: Digital signature