> >This is what my proposed "conf" hook would allow.
> And like magic, there already is a config hook :-)
Yes, after having some hours of sleep and with the hint in the
other mail i found out about that too :-)
But currently it seems unable to fulfill my requirements. The
config hook plugin does not get told which plugin is requiring
the configuration, which hook we are in and does not get the
transaction-object. I will have a look into that and will add
it, if i can figure it out. I believe there are currently no
conf plugins, so i won't break anything.
One problem remains even after having done that: I still believe
that a conf plugin called by an rcpt hook will not be able to
get the recipient in question through the transaction-object
because it is not already in it, or is it? The idea is to use
that recipient for per-user config. In a later hook (like datapost)
this of course would be available.
-kju
--
It's an insane world, but i'm proud to be a part of it. -- Bill Hicks