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 :-) --- CharlieThread Previous | Thread Next