ban_list entry breaks bulk member import

Bug #266447 reported by Wlanguy2
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Mark Sapiro

Bug Description

Mailman 2.1.9 (python 2.4.4) on Solaris 8 SPARC:

When an email address, e.g. <email address hidden> is inserted into the ban_list
and the same member is tried to become a regular member, an error is
triggered.

The is really critical, cause automatically generated bulk imports fail.

 echo "<email address hidden>" | /usr/local/mailman/current/fhbi/bin/add_members
-a n -w n -r - verteiler-zv
Traceback (most recent call last):
  File "/usr/local/mailman/current/fhbi/bin/add_members", line 255, in ?
    main()
  File "/usr/local/mailman/current/fhbi/bin/add_members", line 235, in
main
    addall(mlist, nmembers, 0, send_welcome_msg, s)
  File "/usr/local/mailman/current/fhbi/bin/add_members", line 135, in
addall
    mlist.ApprovedAddMember(userdesc, ack, 0)
  File "/usr/localhost/mailman/current/fhbi/Mailman/MailList.py", line 958,
in ApprovedAddMember
    raise Errors.MembershipIsBanned, pattern
Mailman.Errors.MembershipIsBanned: <email address hidden>

Please fix as fast as possible.

many thanks and best regards

Lars

[http://sourceforge.net/tracker/index.php?func=detail&aid=1904737&group_id=103&atid=100103]

Revision history for this message
Mark Sapiro (msapiro) wrote :

Originator: NO

Fixed by the attached patch which also fixes sync_members and
clone_member.
File Added: patch.txt

Revision history for this message
Wlanguy2 (wlanguy2) wrote :

Originator: YES

Hi "mschapiro" :-)

many thanks for the fast delivered fix!

Best regards

Lars

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.