[Mailman-Developers] [ mailman-Bugs-584989 ] bounced large messages are deleted!

noreply@sourceforge.net noreply@sourceforge.net
Wed, 24 Jul 2002 09:24:11 -0700


Bugs item #584989, was opened at 2002-07-22 18:15
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=584989&group_id=103

Category: mail delivery
Group: 2.1 beta
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Peer Heinlein (pheinlein)
Assigned to: Nobody/Anonymous (nobody)
Summary: bounced large messages are deleted!

Initial Comment:
I`m using 2.1b2+ (July, 22th) and if a message 
is larger than the maximum allowd size (of this 
list) it is not bounced or hold for approval 
succesfully.  
 
The message disappears and mailman 
crashes. Maybe it`s just a mistake in the 
translation in german mailman.po? 
 
Jul 22 17:36:55 2002 (28610) Uncaught 
runner exception: an integer is required 
Jul 22 17:36:55 2002 (28610) Traceback 
(most recent call last): 
  File 
"/usr/lib/mailman/Mailman/Queue/Runner.py", 
line 105, in __oneloop 
    self.__onefile(msg, msgdata) 
  File 
"/usr/lib/mailman/Mailman/Queue/Runner.py", 
line 154, in __onefile 
    keepqueued = self._dispose(mlist, msg, 
msgdata) 
  File 
"/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", 
line 129, in _dispose 
    status = self._dopipeline(mlist, msg, 
msgdata, pipeline) 
  File 
"/usr/lib/mailman/Mailman/Queue/IncomingRunner.py", 
line 152, in _dopipel 
    sys.modules[modname].process(mlist, msg, 
msgdata) 
  File 
"/usr/lib/mailman/Mailman/Handlers/Hold.py", 
line 179, in process 
    MessageTooBig(bodylen, 
mlist.max_message_size)) 
  File 
"/usr/lib/mailman/Mailman/Handlers/Hold.py", 
line 198, in hold_for_approv 
    reason = Utils.wrap(exc.reason_notice()) 
  File 
"/usr/lib/mailman/Mailman/Handlers/Hold.py", 
line 103, in reason_notice 
    return _('''Message body is too big: 
%(size)d bytes with a limit of 
  File "/usr/lib/mailman/Mailman/i18n.py", line 
76, in _ 
    return _translation.gettext(s) % dict 
TypeError: an integer is required 
 

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

>Comment By: Peer Heinlein (pheinlein)
Date: 2002-07-24 18:24

Message:
Logged In: YES 
user_id=581680

I really don`t know how python works and how to  
help myself. Maybe something has changed - I  
installed the package python-devel and python 
tk.   
  
There`s a traceback when I start "python -v": 
 
[...] 
# /usr/lib/python2.2/stat.pyc matches 
/usr/lib/python2.2/stat.py 
import stat # precompiled from 
/usr/lib/python2.2/stat.pyc 
# /usr/lib/python2.2/UserDict.pyc matches 
/usr/lib/python2.2/UserDict.py 
import UserDict # precompiled from 
/usr/lib/python2.2/UserDict.pyc 
'import site' failed; traceback: 
Traceback (most recent call last): 
  File 
"/var/tmp/python-2.2-build//usr/lib/python2.2/site.py", 
line 177, in ? 
    addsitedir(sitedir) 
  File 
"/var/tmp/python-2.2-build//usr/lib/python2.2/site.py", 
line 128, in addsitedir 
    addpackage(sitedir, name) 
  File 
"/var/tmp/python-2.2-build//usr/lib/python2.2/site.py", 
line 151, in addpackage 
    exec dir 
  File "<string>", line 1, in ? 
ImportError: No module named japanese 
Python 2.2 (#1, Mar 26 2002, 15:46:04) 
[GCC 2.95.3 20010315 (SuSE)] on linux2 
 

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

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-07-24 15:26

Message:
Logged In: YES 
user_id=12800

Something may have changed in your Python environment?  I
don't see how that fix could have had anything to do with it!

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

Comment By: Peer Heinlein (pheinlein)
Date: 2002-07-24 10:14

Message:
Logged In: YES 
user_id=581680

 It looks like it works. -Thanks! 
 
But now I`m getting the message  
"`import site` failed; use -v to traceback"?! 
 
Peer 
 

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

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-07-24 07:06

Message:
Logged In: YES 
user_id=12800

It does look like it's a bug in the German translation for
that message.   I'm about to commit a fix to the German
catalog; can you try doing a cvs update and see if that
fixes your problem?

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

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