How about: bin/list_members -f <list>|grep -v -e "[EMAIL PROTECTED]" > <list> bin/sync_members -f <list> <list>
Allan >Tim wrote: >> >>We have a subscriber address that has /t on the end of it ([EMAIL >>PROTECTED]/t) which can only be seen when dumping the lists config file. The >>subscriber address looks normal [EMAIL PROTECTED]) 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 '[EMAIL PROTECTED]<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 = '[EMAIL PROTECTED]' (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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [EMAIL PROTECTED] | | WWW: http://www.ugs.com http://www.rc.org/ | | | |_Anything is possible with the right tools and right information_| ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
