[Mailman-Users] Proper names
Mark Sapiro
mark at msapiro.net
Mon May 3 17:32:01 CEST 2010
Hicks, Robert CTR wrote:
>I have some account that have the proper name and the email address of the user. I would like all my lists to only have the email address of the users. Is there a way to remove all the "Joe Public" proper names?
If you have access to Mailman's command line tools, save the following
script (between the dashed lines) in Mailman's bin/ directory with
name remove_names.py and then run the command
bin/withlist -l -a -r remove_names
-----------------------------------------------------
def remove_names(mlist):
if not mlist.Locked():
mlist.Lock()
for member in mlist.getMembers():
mlist.setMemberName(member, u'')
mlist.Save()
mlist.Unlock()
-----------------------------------------------------
If you don't have access to do this, you would have to do it manually
through the admin Membership List pages.
--
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