Hi *,

I just committed my patch to disable and re-enable loaded plugins. An
example plugin "skip_plugins" is included. See perldoc Qpsmtpd::Plugin
and the "skip_plugins" plugin to find out how to use this in detail.

The plugins can be disabled for the current connection only (not for
just a transaction!). The earliest point to disable a plugin is in the
connect hook. Loading new plugins is not possible... load at startup
and disable them until you need them (self disabling is possible, self
re-enabling of course not ;->).

Currently it's not possible to disable a plugin which uses the 
isa_plugin() method AND it's parent plugin at once. So you have to
take care not to disable the parent plugin without disabling all of it's
"children".

        Hanno

Reply via email to