27 Dec
2021
27 Dec
'21
2:19 a.m.
On 12/26/21 6:05 PM, William Oliver wrote:
So.. if I need to do it myself, can you point me to what file I need to create/modify in the /opt/mailman/mm tree to set up the alias?
Assuming you have Postorius working, just go to the Domains view, edit your domain and add an Alias Domain.
Otherwise, you can do this in mailman shell, e.g.
$ mailman shell
Welcome to the GNU Mailman shell
Use commit() to commit changes.
Use abort() to discard changes since the last commit.
Exit with ctrl+D does an implicit commit() but exit() does not.
>>> dm = getUtility(IDomainManager)
>>> d = dm.get('example.com')
>>> d.alias_domain = x.example.com
>>> commit()
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan