[Mailman-Developers] A couple of functions it would be nice to have from the command line

Mark Sapiro mark at msapiro.net
Tue Sep 1 18:43:05 CEST 2009


Justin Long wrote:
>1) the ability to add a new subscription to a given list without importing a
>text file. Right now it seems to be impossible to add a single address to a
>single list in the same way you can remove an address. This would be useful
>for adding a one-off email address change.
>
>adduser -l /list/thelist johndoe at gmail.com


It's awkward, but

  echo johndoe at gmail.com | bin/add_members -r - thelist

will do it or you could make an adduser shell script to parse your
arguments and call add_members appropriately


>2) the ability to change an email address en masse in all lists. At least
>once or twice a month I have people who write in who want to have their
>email address changed and they aren't technically minded enough to do this
>on their own. As a customer service issue it would be nice to simply
>accomodate them, e.g.
>
>changeuser johndoe at gmail.com johndoe at smith.com


See <http://www.msapiro.net/scripts/change_member_address.py>

-- 
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-Developers mailing list