[Mailman-Users] special characters in subscriber address
Todd
Freedom_Lover at pobox.com
Fri Mar 28 00:12:33 CET 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
alex wetmore wrote:
> I wrote a routine that is compatible with "withlist" for doing
> this. Save it into rmmember.py.
>
> def rmmember(mlist, addr):
> try:
> print 'key: ', mlist.getMemberKey(addr)
> mlist.removeMember(mlist.getMemberKey(addr))
> mlist.Save()
> except NotAMember:
> print 'No address matched:', addr
>
> Run "bin/withlist" to see usage on how withlist works. This
> command should remove your member:
>
> % bin/withlist -l -r rmmember mylist "pgyallay"@keap at fone.net
Wouldn't you have to backmask the quotes so they get past the shell?
- --
Todd OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
============================================================================
That men do not learn very much from the lessons of history is the most
important of all the lessons of history.
-- Aldous Huxley Collected Essays, 1959
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.
iD4DBQE+g4Vguv+09NZUB1oRAvhHAJ9GMWAeEBS8Mn9OgRb2ztfYK04T4gCYiltx
s7M51ngmoEqJ7NKvuIAwKA==
=4PLu
-----END PGP SIGNATURE-----
More information about the Mailman-Users
mailing list