Johannes russek wrote:
i'm still rewriting some plugins for our demands and i wondered, if there is a hook qpsmtpd calls for a plugin to do some initialisation, ie read in configuration data and store that stuff in memory ($self) so that isnt done each time a mail comes in? is that pre_connection?
Did you see README.plugins? Specifically the sections on register() and init(). You should also see if there is a plugin that already does something like what you are doing and see how that plugin does is (i.e., if you are writing a connect plugin, take a look at all of the hook_connect() subs).
John
