Matt Sergeant wrote:
> On 5-Feb-07, at 2:24 PM, Jens Weibler wrote:
>
>> I'm wondering if there's any concept for "dynamic" pluginsettings?
>
> Yes. Create a 'config' hook.
mmh, there must be a better way to do this.
I have to change e.g. the reject_threshold for spamassassin for each
recipient/connection :(

If I use connection->notes each plugin must use it. And I always have to
check/set this value.
Easier would be something like:

GetConfig($key);

Which will search at first in scopes like connection, recipient, sender
and if not found at last global.

Any comments?

-- 
Jens


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to