[Mailman-Developers] [ mailman-Bugs-650711 ] add_members fails with specific address

noreply at sourceforge.net noreply at sourceforge.net
Mon Dec 23 20:46:40 EST 2002


Bugs item #650711, was opened at 2002-12-09 01:23
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=650711&group_id=103

Category: command line scripts
Group: 2.1 beta
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Cabel Sasser (cabelsa)
Assigned to: Nobody/Anonymous (nobody)
Summary: add_members fails with specific address

Initial Comment:
I am migrating from one list system to another, and in
the process of doing so I'm importing tens of thousands
of addresses using the command-line add_members utility.

Bug:

add_members reproducibly crashes when it gets to the
following obviously invalid e-mail address in the text
file I'm importing from:

----@---.---

Here is the error message:

[...]
Traceback (most recent call last):
  File "/usr/local/mailman/bin/add_members", line 297, in ?
    main()
  File "/usr/local/mailman/bin/add_members", line 274,
in main
    addall(mlist, nmembers, 0, send_welcome_msg, s)
  File "/usr/local/mailman/bin/add_members", line 173,
in addall
    except MMHostileAddress:
NameError: global name 'MMHostileAddress' is not defined

If I remove the above dash-tastic address, the
add_members import succeeds.

I hope this helps! Mailman totally rocks! :)


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

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-12-23 23:46

Message:
Logged In: YES 
user_id=12800

Well, the bug was still there in MM2.1b6 so I fixed it. :)


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

Comment By: Cabel Sasser (cabelsa)
Date: 2002-12-09 01:24

Message:
Logged In: YES 
user_id=665207

BTW, this is 2.0b5. Sorry for not mentioning that above.

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

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



More information about the Mailman-Developers mailing list