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

Re: [svn:qpsmtpd] r700 - in branches/0.3x: . config.sample liblib/Qpsmtpd plugins

Thread Previous | Thread Next
From:
Charlie Brady
Date:
January 2, 2007 17:54
Subject:
Re: [svn:qpsmtpd] r700 - in branches/0.3x: . config.sample liblib/Qpsmtpd plugins
Message ID:
Pine.LNX.4.64.0701022048060.9334@e-smith.charlieb.ott.istop.com

On Sun, 31 Dec 2006, Robert Spier wrote:

>    In general, any change that adds specific functionality to the
>    core that could otherwise be implemented as a plugin -- especially
>    if most users aren't ever going to use it -- shouldn't go in the
>    core.
>
>    Some random code comments below:
>
>> --- branches/0.3x/config.sample/plugins	(original)
>> +++ branches/0.3x/config.sample/plugins	Sun Dec 31 03:07:32 2006
>> @@ -12,6 +12,9 @@
>>  # from one IP!
>>  hosts_allow
>>
>> +# skip selected plugins for some hosts:
>> +skip_plugins

Please see my "peers" plugin posted a few months ago 
(http://www.nntp.perl.org/group/perl.qpsmtpd/4475). It allows different 
(arbitrary) sets of plugins to be hooked for different ranges of 
connecting IP addresses, and required no code changes in core (or in 
other plugins).

I said then "I'd appreciate some feedback", and that remains true today 
:-)

---
Charlie

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