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 <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org