[Mailman-Developers] [ mailman-Bugs-641436 ] traceback for set nomail for non-member

noreply@sourceforge.net noreply@sourceforge.net
Wed Nov 20 20:11:23 2002


Bugs item #641436, was opened at 2002-11-20 20:11
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=641436&group_id=103

Category: None
Group: 2.0.x
Status: Open
Resolution: None
Priority: 5
Submitted By: Marilyn Davis (marilyndavis)
Assigned to: Nobody/Anonymous (nobody)
Summary: traceback for set nomail for non-member

Initial Comment:


If a non-member of a list sends a mail message to the 
request address
to "set nomail on passwd", the non-member gets a 
traceback and the
admin gets an "unexpected mailman error" message.

Instead, the MailCommandHandler probably wants to 
catch the exception
and suggest to the non-user that she joins the list before 
she turns
off her mail stream.

I did this accidentally, first with an unknown password 
and the second
time with the admin's password.  Each traceback is a 
little different.

I hope this is helpful.

Thank you,

Marilyn Davis

The MailCommandHandler.py 

>From t2-request@localhost.localdomain Tue Nov 19 
14:24:13 2002
Date: Tue, 19 Nov 2002 13:31:01 -0800
From: t2-request@localhost.localdomain
To: marilyn@localhost.localdomain
Subject: Mailman results for T2

This is an automated response.

There were problems with the email commands you sent 
to Mailman via
the administrative address <t2-
request@localhost.localdomain>.

To obtain instructions on valid Mailman email 
commands, send email to
<t2-request@localhost.localdomain> with the 
word "help" in the subject
line or in the body of the message.

If you want to reach the human being that manages this 
mailing list,
please send your message to <t2-
admin@localhost.localdomain>.

The following is a detailed description of the problems.

>>>>> Subject line ignored:
>>>>>   Re: Mailman results for T2

***** set nomail on XXXXXXXX
>>>>> An unexpected Mailman error has occurred.
>>>>> 
>>>>> Please forward your request to the human list 
administrator in charge
>>>>> of this list at <t2-
admin@localhost.localdomain>.  The traceback is
>>>>> attached below and will be forwarded to the list 
administrator
>>>>> automatically.

Traceback (most recent call last):
  
File "/home/mailman/Mailman/MailCommandHandler.py",
 line 235, in ParseMailCommands
    self.__dispatch[cmd](args, line, msg)
  
File "/home/mailman/Mailman/MailCommandHandler.py",
 line 376, in ProcessSetCmd
    self.ConfirmUserPassword(sender, args[2])
  File "/home/mailman/Mailman/SecurityManager.py", 
line 144, in ConfirmUserPassword
    raise Errors.MMBadUserError
MMBadUserError

>From t2-request@localhost.localdomain Tue Nov 19 
14:24:19 2002
Date: Tue, 19 Nov 2002 13:32:01 -0800
From: t2-request@localhost.localdomain
To: marilyn@localhost.localdomain
Subject: Mailman results for T2

This is an automated response.

There were problems with the email commands you sent 
to Mailman via
the administrative address <t2-
request@localhost.localdomain>.

To obtain instructions on valid Mailman email 
commands, send email to
<t2-request@localhost.localdomain> with the 
word "help" in the subject
line or in the body of the message.

If you want to reach the human being that manages this 
mailing list,
please send your message to <t2-
admin@localhost.localdomain>.

The following is a detailed description of the problems.


***** set nomail on (the admin password)
>>>>> An unexpected Mailman error has occurred.
>>>>> 
>>>>> Please forward your request to the human list 
administrator in charge
>>>>> of this list at <t2-
admin@localhost.localdomain>.  The traceback is
>>>>> attached below and will be forwarded to the list 
administrator
>>>>> automatically.

Traceback (most recent call last):
  
File "/home/mailman/Mailman/MailCommandHandler.py",
 line 235, in ParseMailCommands
    self.__dispatch[cmd](args, line, msg)
  
File "/home/mailman/Mailman/MailCommandHandler.py",
 line 412, in ProcessSetCmd
    self.SetUserOption(sender, option_info[args[0]], value)
  File "/home/mailman/Mailman/MailList.py", line 206, in 
SetUserOption
    user = self.GetUserCanonicalAddress(user)
  File "/home/mailman/Mailman/MailList.py", line 174, in 
GetUserCanonicalAddress
    cpuser = self.GetUserSubscribedAddress(member)
  File "/home/mailman/Mailman/MailList.py", line 159, in 
GetUserSubscribedAddress
    member = string.lower(member)
  File "/usr/local/lib/python2.2/string.py", line 54, in lower
    return s.lower()
AttributeError: 'NoneType' object has no attribute 'lower'




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

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



More information about the Mailman-Developers mailing list