[Mailman-Users] Can't Delete Corrupt Subscriber Address
Allan Hansen
hansen at rc.org
Sun Feb 26 13:43:48 CET 2006
How about:
bin/list_members -f <list>|grep -v -e "xxx at xxx.com" > <list>
bin/sync_members -f <list> <list>
Allan
>Tim wrote:
>>
>>We have a subscriber address that has /t on the end of it (xxx at xxx.com/t) which can only be seen when dumping the lists config file. The subscriber address looks normal xxx at xxx.com) when looking for it using any other method (list members, etc).
>
>
>Do you mean '\t', i.e. a tab character? Is the difference between '\t'
>and '/t' a typo here or does it have something to do with your lack of
>success?
>
>If you try the '-f' option with list_members, you might actually see
>the <tab> between 'xxx.com' and the terminating '>'.
>
>
>>I've tried to use reg exps using remove member with no luck
>
>
>Do you mean bin/remove_members? It doesn't accept regexps, only literal
>addresses, and it won't accept a '\t' escape - you'd need to give it
>an actual tab character.
>
>You could try
>
>bin/remove_members listname 'xxx at xxx.com<tab>'
>
>where <tab> represents an actual tab character
>
>>and tried using the method described in the FAQ (3.13. How do I remove a user name or email address with an illegal character in it?) with no luck either.
>
>
>Try bin/withlist -l listname
>
>and then at the '>>>' prompts type
>
>adr = 'xxx at xxx.com\t' (this should be the actual address of course)
>m.removeMember(adr)
>
>If that throws an exception, try
>
>del m.members[adr]
>
>
>Then in any case type
>
>m.Save()
>
>in order to save the changed list, and finally type control-D to a
>prompt to end the interactive session.
>
>--
>Mark Sapiro <msapiro at value.net> The highway is for gamblers,
>San Francisco Bay Area, California better use your sense - B. Dylan
--
_________________________________________________________________
| Allan Hansen, Ph.D. |
| P.O. Box 2423, Cypress, CA 90630, U.S.A. |
| |
| Work: Home: |
| Phone: +1-714/952-6015 +1-714/875-8870 |
| Fax: +1-714/952-6746 |
| Email: allan.hansen at ugs.com hansen at rc.org |
| WWW: http://www.ugs.com http://www.rc.org/ |
| |
|_Anything is possible with the right tools and right information_|
More information about the Mailman-Users
mailing list