[Mailman-Developers] [ mailman-Bugs-596055 ] wrong charset in bounce notice

noreply@sourceforge.net noreply@sourceforge.net
Fri, 16 Aug 2002 08:59:02 -0700


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

Category: bounce detection
Group: 2.1 beta
Status: Closed
Resolution: Accepted
Priority: 5
Submitted By: Simone Piunno (pioppo)
Assigned to: Nobody/Anonymous (nobody)
Summary: wrong charset in bounce notice

Initial Comment:
When a member is disabled because of too many bounces
detected, if bounce_notify_owner_on_disable is set the list
owner is notified with a message generated in Boucer.py
using a template file (bounce.txt).

The problem is that the generated message is MIME 
encoded and bounce.txt is attached with hardcoded 
charset=us-ascii, even if a translated template was used.

Attached you can find a one-liner patch


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

Comment By: Ousmane Wilane (wilane)
Date: 2002-08-16 15:59

Message:
Logged In: YES 
user_id=47556

Current cvs:
make install leads to this (Python 2.2):

Traceback (most recent call last):
  File "bin/update", line 47, in ?
    from Mailman import MailList
  File "/usr/local/mailman/Mailman/MailList.py", line 51, in ?
    from Mailman.Bouncer import Bouncer
  File "<string>", line 193
    if isinstance(msg, StringType):
     ^
SyntaxError: invalid syntax
make: *** [update] Error 1


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

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-08-16 14:41

Message:
Logged In: YES 
user_id=12800

Applied, thanks!

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

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