diff options
| author | bwarsaw | 2001-08-17 16:17:03 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-08-17 16:17:03 +0000 |
| commit | 2c3013c703558bd1067dcfb504d3813adce93b22 (patch) | |
| tree | 50fc7637040bd8fbe04e7c083c37d23fcc7f48a3 | |
| parent | 3be87fbbd54380cf0ea0b32bb3084610426d6567 (diff) | |
| download | mailman-2c3013c703558bd1067dcfb504d3813adce93b22.tar.gz mailman-2c3013c703558bd1067dcfb504d3813adce93b22.tar.zst mailman-2c3013c703558bd1067dcfb504d3813adce93b22.zip | |
Improve instructions for initializing the aliases.db file, but using
bin/genaliases instead of touch.
| -rw-r--r-- | README.POSTFIX | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/README.POSTFIX b/README.POSTFIX index 01c1dfbfa..68d9fe1ea 100644 --- a/README.POSTFIX +++ b/README.POSTFIX @@ -7,21 +7,25 @@ INTEGRATING POSTFIX AND MAILMAN You can integrate Postfix and Mailman such that when new lists are created, or lists are removed, Postfix's alias database will - automatically be updated. This is done by Mailman writing alias - entries to a DB hash file that Postfix has been configured to consult - when looking for local delivery addresses. The following are the - steps you need to take to make this work. + automatically be updated. The following are the steps you need to + take to make this work. - In the description below, $mailman is the directory into which - you've installed Mailman. I.e. it is /usr/local/mailman if you - did not use the --prefix switch when you configured Mailman, - otherwise it is the directory you specified with --prefix. Note - that if you used --with-var-prefix then $mailman is this - directory. + In the description below, we assume that you've installed Mailman + in the default location, i.e. /usr/local/mailman. If that's not + the case, adjust the instructions according to your use of + configure's --prefix and --with-var-prefix options. - - touch the file $mailman/data/aliases.db and make sure that both - the owner and group-owner of the file is `mailman'. Make sure - that both owner and group have read and write permission. + - Run the genaliases script to initialize your aliases file. + + % cd /usr/local/mailman + % bin/genaliases + + Make sure that the owner of the data/aliases and data/aliases.db + file is `mailman' and that the group owner for those files is + `mailman'. E.g.: + + % su + % chown mailman.mailman data/aliases* - Hack your Postfix's main.cf file to include $mailman/data/aliases (no trailing .db) in the alias_map variable but not alias_database. |
