[Mailman-Users] Removing member with <CR> in key - was:(no subject)

Con Wieland cwieland at uci.edu
Mon Apr 2 21:25:04 CEST 2007


On Apr 2, 2007, at 11:32 AM, Mark Sapiro wrote:

> Con Wieland wrote:
>
>> I have found the following bad address using ./find_member -l sscm-l
>> "[^\w\-+ at .%]":
>>
>> constance.frei^M
>> constance.frei at lettres.unige.ch found in:
>>      sscm-l
>>
>> On the web page the address appears as:
>>
>> constance.frei constance.frei at lettres.unige.ch
>>
>> when using list_members <listname> I get
>>
>> constance.frei
>> constance.frei at lettres.unige.ch
>>
>>  have tried using the examples in the FAQ "3.13. How do I remove a
>> user name or email address with an illegal character in it?" to  
>> remove:
>>
>> constance.fre
>> constance.frei^M
>> constance.frei constance.frei at lettres.unige.ch
>> constance.frei^Mconstance.frei at lettres.unige.ch
>>
>> All produced errors.
>> Any help would be appreciated
>
>
> First, did you see and try the following from FAQ 3.13
>
> ----------------------------------------------------
>
> Before trying the method(s) below, first try
>
>  % bin/list_members -i listname
>
> If that lists the addresses you want removed, try
>
>  % bin/list_members -i listname | bin/remove_members -f - listname

Yes I did, it didn't show up that way.

>
> ----------------------------------------------------
>
> If that doesn't work, try the following withlist fragment
>
>>>> m.removeMember("""constance.frei
>  ... constance.frei at lettres.unige.ch""")
>>>> m.Save()
>>>> ^D
>

I get this error:

 >>> m.removeMember("""constance.frei
... constance.frei at lettres.unige.ch""")
Traceback (most recent call last):
   File "<console>", line 1, in ?
   File "/usr/local/mailman/Mailman/OldStyleMemberships.py", line  
219, in removeMember
     assert self.__mlist.Locked()
AssertionError


> and if that doesn't work, try
>
>>>> del m.members["""constance.frei
>  ... constance.frei at lettres.unige.ch"""]
>>>> m.Save()
>>>> ^D

and with this I get:

 >>> del m.members["""constance.frei
... constance.frei at lettres.unige.ch"""]
Traceback (most recent call last):
   File "<console>", line 1, in ?
KeyError: 'constance.frei\nconstance.frei at lettres.unige.ch'



>
> -- 
> Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan

Con Wieland
University of California at Irvine
Network and Academic Computing
Network and Support Programming

cwieland at uci.edu
949.824.6134
949.824.2270 fax



More information about the Mailman-Users mailing list