Mailman aliases: various places on new server?

Hi Mark,
once again, I also had to move my Mailman lists to a new server. Now that I am almost done, I wonder about this:
When I run /usr/lib/mailman/bin/genaliases, I see that in /etc/mailman/ the relevant files are updated:
- aliases
- aliases.db
- virtual-mailman
- virtual-mailman.db
But Postfix won't react on alias changes until I copy at least the aliases* files into /var/lib/mailman/data/.
I didn't set up Mailman on the new machine, but my ISP did. In various documentations on the web I see various places for all this stuff. Is there any place where the genaliases output should be written to by default?
---Ulf Dunkel

Ulf Dunkel wrote:
When I run /usr/lib/mailman/bin/genaliases, I see that in /etc/mailman/ the relevant files are updated:
- aliases
- aliases.db
- virtual-mailman
- virtual-mailman.db
But Postfix won't react on alias changes until I copy at least the aliases* files into /var/lib/mailman/data/.
I didn't set up Mailman on the new machine, but my ISP did. In various documentations on the web I see various places for all this stuff. Is there any place where the genaliases output should be written to by default?
In standard GNU Mailman genaliases and list creation/deletion with MTA = 'Postfix' writes/updates aliases* and virtual-mailman* in $var-prefix/data/ where var-prefix is set by configure when Mailman is configured. This can be overridden in mm_cfg.py by setting
DATA_DIR = '/etc/mailman'
or anything else as desired.
It appears your ISP is using some packaged Mailman (possibly Debian or RedHat), but has not properly configured Postfix to look for Mailman's aliases and virtual maps in the place where the package puts them.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Hi Mark.
It appears your ISP is using some packaged Mailman (possibly Debian or RedHat), but has not properly configured Postfix to look for Mailman's aliases and virtual maps in the place where the package puts them.
It's a VM with CentOS and I guess he simply picked the package from Yum.
I have now fixed the relevant entry in /etc/postfix/main.cf:
----- snip ----- alias_database = hash:/etc/aliases, hash:/etc/mailman/aliases ----- snap -----
Thank you for your comment, as always.
---Ulf Dunkel
participants (2)
-
Mark Sapiro
-
Ulf Dunkel