how to automatic update aliases and virtual maps in Postfix ?
Hi,
maybe somebody will be able to support me here.
I have a Mailman 2 and Postfix 3.10 on Ubuntu. Since few hours I`m trying to configure automatic update of /etc/mailman/alias and /etc/mailman/virtual-mailman during creation of the new mailing list.
In my Postfix main.cf I have configured everything as it was described in the documentation:
alias_map = hash:/etc/mailman/aliases alias_database = hash:/etc/aliases
virtual_alias_maps = hash:/etc/mailman/virtual-mailman newaliases_path = /usr/bin/newaliases (in redhat I have "newaliases.postfix" is this the same ?)
In my /etc/mailman/mm_cfg.py
I have configured everything as in the documentation, for automatic update MTA='Postifx'. E-mail and URL was also configured, but its not the point.
When I`m creating new mailing list, I would like to force Mailman to create automaticaly aliases in
/etc/mailman/aliases /etc/mailman/virtual-mailman
How to do it correctly. On Redhat everything is running but on Ubuntu... not.
I will appreciate Your support.
With kind regards
Zalezny
On 03/22/2017 12:13 PM, Zalezny Niezalezny wrote:
When I`m creating new mailing list, I would like to force Mailman to create automaticaly aliases in
/etc/mailman/aliases /etc/mailman/virtual-mailman
How to do it correctly. On Redhat everything is running but on Ubuntu... not.
I think the issue is where the files are located. In Ubuntu, the files (aliases, aliases.db, virtual-mailman and virtual-mailman.db) will (I think) be in /var/lib/mailman/data/.
See if in fact, those files exist and are updated when you create a list or run Mailman's bin/genaliases.
Those files are the ones you want to point to in your Postfix config.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Zalezny Niezalezny