[Mailman-Users] Exception in ScanMessage for MIME messages with missing boundary

Ian Jackson ijackson at chiark.greenend.org.uk
Mon May 24 11:50:24 CEST 1999

(Is this the right place to report bugs ?)

One of the lists on my system received a bounce with an empty body,
but with Content-Type: multipart/report.  When Mailman tried to parse
it it got an exception because it couldn't find the message boundary.

Below you'll find the relevant part from the Mailman error log, and a
copy of the Exim queue file (the -H file; since there was no body the
-D file is not interesting) in which you can see the message headers.


May 24 10:42:48 1999 post: Traceback (innermost last):
post:   File "/var/lib/mailman/scripts/mailowner", line 46, in ?
post:      if not current_list.bounce_processing or not current_list.ScanMessage
post:   File "/usr/lib/mailman/Mailman/Bouncer.py", line 335, in ScanMessage
post:      relevant_text = string.split(msg.body, '--%s' % boundry)[1]
post: IndexError :  list index out of range

mail 8 8
927306665 0
-host_name maildns.fsbdial.co.uk
-helo_name maildns.FSBDial.co.uk
-received_protocol esmtp
-body_linecount 0
-frozen 927538968
rocksoc-announce-admin at DOMAIN.REMOVED.IN.CASE.OF.SPAM

169P Received: from maildns.fsbdial.co.uk [] 
	by DOMAIN.REMOVED.IN.CASE.OF.SPAM with esmtp (Exim 2.02 #1)
	id 10ksp7-0003rT-00 (Debian); Fri, 21 May 1999 18:16:05 +0100
060F From: "postmaster at freenet.co.uk" <postmaster at freenet.co.uk>
100T To: "rocksoc-announce-admin at DOMAIN.REMOVED.IN.CASE.OF.SPAM" <rocksoc-announce-admin at DOMAIN.REMOVED.IN.CASE.OF.SPAM>
061  Subject: Failed mail: exceeded maximum incoming message size
038  Date: Fri, 21 May 1999 16:30:35 +0100
043I Message-Id: <15303513975959 at freenet.co.uk>
028  X-Mailer: NTMail v4.30.0008
016* Return-Path: <>
018  Mime-Version: 1.0
107  Content-Type: multipart/report; report-type=delivery-status; boundary="==_15303513975961 at freenet.co.uk==_"

More information about the Mailman-Users mailing list