Subscriber E-Mail-Address: GlobalChange causes removal
Bug #266041 reported by
Chris-taylor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Medium
|
Tokio Kikuchi |
Bug Description
A subscriber of some mailinglists on my site tried to
change his email address globally. The change for one
of the lists only affected a correction of upper- and
lower-case letters in the local part of the
address(e.g. will.smith@... -> Will.Smith@....).
After confirming the change an error occured and the
subscriber was completely unsubscribed from the list.
Neither the old address nor the new address were
registered in the subscribers list.
[http://
To post a comment you must log in.
I encountered this bug too. It doesn't look like it is fixed Cgi/options. py pass the global change address off emberAddress( ) method in Mailman/ MailList. py. newaddr) : PAddress( oldaddr) == newaddr:
in 2.1.5 or CVS yet so I did a bit of searching through the
Mailman source code and found the part(s) that causes the
deletion of the member when attempting to change the case of
the localpart of the email address. Lines 332 - 341 of
Mailman/
and the actual deletion occurs in the
ApprovedChangeM
If you change the first if statement in that method (should
be line 1050 in Mailman version 2.1.4)
from:
if self.isMember(
to:
if self.getMemberC
And then the last if statement (should be line 1070 in newaddr) : CPAddress( oldaddr) == newaddr:
Mailman version 2.1.4) in the method
from:
if mlist.isMember(
to:
if mlist.getMember
It should fix the bug. However I haven't tested this
extensively and it may break other functionality.
Eirik