On 10.11.2013, at 21.24, Benny Pedersen me@junc.eu wrote:
extend dovecot -n to output current config as xml ?
maybe even configure it all via xml ?
All the configuration goes through src/config/* code, which can be easily replaced with anything else. The original idea was to make it possible to store the configuration in different formats, like XML or SQL. Then again, the current config code is horrible and should be rewritten, especially to make it more modular and be able to use different formats without having to recreate the whole config code. And it’s currently spending way too much CPU, which might become a problem in some complex setups. So yeah, I think it would be nice, but I also think there are a lot of other much more important things that need to be done.