Gabriel - you wrote:
Maybe one could have a switch to turn hosteddomains on and off? I
agree with the OP that it is a bit cumbersome to maintain it if everything
else
can be stored on in DB...
A couple of comments to this:
1) Currently (correct me if I'm wrong Sam) courier has nothing to do with
the database - that's all contained by authdameon. Don't think it would be
that easy a change - it's not like it's half way there... Direct file access
can be WAY more efficent for a number of things - and by it's nature at
present it's cached for the lifetime of the courier process...
2) It's REALLY easy to produce all of the control files - including
aliases - from your database... it's just a select statement. I can't give
you the code as it would be meaning less without the database schema, but
it's just a select statement dumped to a file. We trigger this when our mail
config data tables are modified to automatically rebuild the files, and then
restart the courier process...
In a perfect world, everything would be in a database and fully text indexed
and searchable... but not yet...
my 2 pennies.
m/