Can't Delete Corrupt Subscriber Address

We are using Mailman v 2.1.4 on a Linux box with postfix and I am site admin.
We have a subscriber address that has /t on the end of it (xxx@xxx.com/t) which can only be seen when dumping the lists config file. The subscriber address looks normal xxx@xxx.com) when looking for it using any other method (list members, etc).
I've tried to use reg exps using remove member with no luck 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.
Does anyone have any other suggestions?
Thanks
Tim

Tim wrote:
We have a subscriber address that has /t on the end of it (xxx@xxx.com/t) which can only be seen when dumping the lists config file. The subscriber address looks normal xxx@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@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@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@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Tim wrote:
We have a subscriber address that has /t on the end of it (xxx@xxx.com/t) which can only be seen when dumping the lists config file. The subscriber address looks normal xxx@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@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@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@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Tim