http://issues.apache.org/SpamAssassin/show_bug.cgi?id=3852





------- Additional Comments From [EMAIL PROTECTED]  2006-09-10 07:03 -------
Just thought I'd throw this out there.

I haven't fully thought it out yet, but I had an idea about having multiple
tiers for configs.   The system config gets put onto the first tier, and then
user configs are handled on a different tier.  Tiers could be easily implemented
with arrays, so the system is [0] and the user's is [1] (there could be reasons
to have more tiers than that, hence an array instead of just 2 variables -- ie:
system config in [0], site config in [1], user config in [2], etc.)

So generally, spamassassin/sa-learn/etc just uses the first tier.  spamd would
create an empty second tier in the children before reading in the user config,
then simply throws it out (pop()) when finished.

The main issues are:

all of the code needs to stop using conf references and change to some type of
get/set functions.  get() will check the top tier, then work down until it finds
something (or not).  set() would always use the top tier.  deletes to
arrays/hashes would happen somehow, and generally arrays and hashes would have
to be copied to the higher tier for changes to take effect.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to