develooper Front page | perl.qpsmtpd | Postings from September 2007

Re: rcpt_ok - max relay attempts

Thread Previous | Thread Next
From:
Peter J. Holzer
Date:
September 4, 2007 15:34
Subject:
Re: rcpt_ok - max relay attempts
Message ID:
20070904223346.GA18884@hjp.at
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.
| |   | hjp@hjp.at         |
__/   | http://www.hjp.at/ |	-- Sam in "Freefall"


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About