[SAC] [OSGeo] #2330: White-list president at osgeo.org in all mailing lists
OSGeo
trac_osgeo at osgeo.org
Tue Jul 30 04:37:55 PDT 2019
#2330: White-list president at osgeo.org in all mailing lists
---------------------------+---------------------
Reporter: Delawen | Owner: jsanz
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Mailing Lists | Resolution: fixed
Keywords: |
---------------------------+---------------------
Changes (by jsanz):
* status: new => closed
* resolution: => fixed
Comment:
Done MarĂa, for reference I'll leave here the script I added and how to
run it
{{{
jsanz at osgeo6:/var/lib/mailman/bin$ cat add_president.py
PRESIDENT = 'president at 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 at osgeo6:/var/lib/mailman/bin$ sudo ./withlist -l -r add_president -a
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2330#comment:2>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list