Robert Spier wrote:
But - David's message got me thinking - it is probably time to factor
out the config reading code from being a huge
if/elsif/elsif/elsif/elsif  tree into being classful.  Then people
could easily have add-on config plugins.

There already is a config hook (which replaces the existing config() calls completely). Other than get_qmail_config (which is a mess, admittedly), I don't see much in the way of if/elseif trees. Perhaps just taking the existing get_qmail_config and _config_from_file and making it a default config plugin would be sufficient.

John

Reply via email to