Geo Carncross wrote:
On Tue, 2005-03-29 at 00:54 +0000, Aaron Stone wrote:
DBMail relies on MySQL or PostgreSQL for data storage.
... or SQLite; but that's really only useful for one-db per user
situations.
Which is actually quite interesting if we can support auto-creation of the
database. For that to happen however, we need:
A better run-time configuration; the current setup for accessing dbmail.conf and
presetting the runtime should be fixed to
1. allow full runtime access to specific variables through a single commandline
switch. Consider:
'dbmail-util -n -O smtp:debug=5'
'dbmail-imapd -n -O dbmail:db=/var/lib/dbmail/$USERNAME.db'
2. allow dynamic overloading of the conf-file location. Like this:
load system-wide /etc/dbmail/dbmail.conf
if getenv("DBMAILCONF"):
..load all known ini-variables from it..
else if ~/.dbmailrc:
..load all known ini-variables from it..
else if /etc/dbmail/$USERNAME/dbmail.conf:
..load etc...
These things combined with a xinetd setup and *safe* auto-creation of databases
will make dbmail scale pretty well on sqlite I suspect.
--
________________________________________________________________
Paul Stevens mailto:[EMAIL PROTECTED]
NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED]
The Netherlands________________________________http://www.nfg.nl