[Mailman-Users] Question about genaliases
Mark Sapiro
mark at msapiro.net
Wed Jul 9 10:23:42 CEST 2014
On 07/08/2014 01:33 PM, Kamlesh Rao wrote:
>
> Is there an option to run 'genaliases' per Distribution list on a on demand basis. I believe the default behavior is that it checks all the lists in the installation directory and sets up the aliases in the file /etc/mailman/aliases and aliases.db
There is no such genaliases option, but you could put the following 3
lines in a file named make_alias.py in Mailman's bin/ directory
from Mailman.MTA.Postfix import create
def make_alias(mlist):
create(mlist)
and then the command
bin/withlist -r make_alias LISTNAME
will create the aliases for LISTNAME.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list