[Mailman-Developers] Creation/deletion of lists through-the-web

Andrew McNamara andrewm@connect.com.au
Thu, 10 May 2001 15:15:33 +1000

>Postfix has a configuration variable called `alias_maps' which tells
>it where to look for local delivery address associations.  It has
>another variable called `alias_databases' which tells it which files
>to rebuild when invoked as newaliases.  For each of these you can
>specify the type of map database the file is kept as.  One of these
>choices is `hash', which is really a BSD dbhash file.  Python has a
>dbhash module which nicely handles reading and writing dbhash files
>(and it should be enabled by default in Python 2.x, if your system has
>Berkeley DB installed, as most Linux distros ought to).

It should be mentioned here that postfix and python need to be linked
against the same version of libdb as most versions of libdb have
incompatible file formats.

One other small caveat is file locking - some versions of libdb
(certainly 1.96 and prior) are not safe during updates. The postfix
tool that builds libdb hashes uses it's own file locking (check source
for details).

Andrew McNamara (System Architect)

connect.com.au Pty Ltd
Lvl 3, 213 Miller St, North Sydney, NSW 2060, Australia
Phone: +61 2 9409 2117, Fax: +61 2 9409 2111