[ mailman-Bugs-1904737 ] ban_list entry breaks bulk member import

SourceForge.net noreply at sourceforge.net
Mon Mar 3 09:01:46 CET 2008


Bugs item #1904737, was opened at 2008-02-29 16:14
Message generated for change (Comment added) made by wlanguy2
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1904737&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: command line scripts
Group: 2.1 (stable)
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Lars Köller (wlanguy2)
Assigned to: Mark Sapiro (msapiro)
Summary: ban_list entry breaks bulk member import

Initial Comment:

Mailman 2.1.9 (python 2.4.4) on Solaris 8 SPARC:

When an email address, e.g. dummy at example.com 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 "dummy at example.com" | /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: dummy at example.com


Please fix as fast as possible.

many thanks and best regards

Lars


----------------------------------------------------------------------

>Comment By: Lars Köller (wlanguy2)
Date: 2008-03-03 09:01

Message:
Logged In: YES 
user_id=2003250
Originator: YES

Hi "mschapiro" :-)

many thanks for the fast delivered fix!

Best regards

Lars

----------------------------------------------------------------------

Comment By: Mark Sapiro (msapiro)
Date: 2008-02-29 18:35

Message:
Logged In: YES 
user_id=1123998
Originator: NO

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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1904737&group_id=103


More information about the Mailman-coders mailing list