(using poll server)

I'm wondering why when I hook_config() in a plugin that hook is called
whenever qpsmtpd calls ->config() somewhere?  my hook_config() gets
called for requests for 'me' and 'smtpgreeting'.  Is there no way to
have this hook only called from the plugin that defined it?  It just
seems unclean to start off a hook_config with a test to see if you can
answer the request.

It also seems that when hook_init() is run it doesn't call hook_config
if you access $self->qp->config.  Is this expected? (note it works as
expected for me outside hook_init())

What is the preferred method of persistence in the poll server?  I'd
like to cache config files rather than loading the off disk every message.

Thanks!

ds

Reply via email to