Opened 5 years ago
Closed 5 years ago
#2330 closed enhancement (fixed)
White-list president@osgeo.org in all mailing lists
Reported by: | Delawen | Owned by: | jsanz |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | SysAdmin/Mailman | Keywords: | |
Cc: |
Description
Hi,
I would like to have president@… able to send emails to all mailing lists.
Context: I want to send a warning for the AGM slides to all groups, but getting the account one by one on all mailing lists is awful. Would be good if it is just white listed so any future president can post easily. Sure there is some command line to do it quicker?
Thanks!
Change History (2)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Done María, for reference I'll leave here the script I added and how to run it
jsanz@osgeo6:/var/lib/mailman/bin$ cat add_president.py PRESIDENT = 'president@osgeo.org' def add_president(myList): addrs = myList.accept_these_nonmembers if PRESIDENT not in addrs: print('Adding address....') addrs.append(PRESIDENT) myList.Save() print('Done!') else: print('Address already present')
Once placed the add_president.py
file running it through all the lists was as simple as:
jsanz@osgeo6:/var/lib/mailman/bin$ sudo ./withlist -l -r add_president -a
Note:
See TracTickets
for help on using tickets.
I'll check the
withlist
command described here next week unless someone wants to take a look before.https://www.gnu.org/software/mailman/site.html