Debian Bug report logs - #333491
mailman: long non-ascii attachment filename breaks archive handling and blocks list

version graph

Package: mailman; Maintainer for mailman is Mailman for Debian <[email protected]>; Source for mailman is src:mailman (PTS, buildd, popcon).

Reported by: Heno Ivanov <[email protected]>

Date: Wed, 12 Oct 2005 07:33:04 UTC

Severity: important

Found in version mailman/2.1.5-8

Forwarded to http://sf.net/support/tracker.php?aid=1293267

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Tollef Fog Heen <[email protected]>:
Bug#333491; Package mailman. (full text, mbox, link).


Acknowledgement sent to Heno Ivanov <[email protected]>:
New Bug report received and forwarded. Copy sent to Tollef Fog Heen <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Heno Ivanov <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: mailman: long non-ascii attachment filename breaks archive handling and blocks list
Date: Wed, 12 Oct 2005 10:16:25 +0300
Package: mailman
Version: 2.1.5-8
Severity: important

long-named attachment with special characters  breaks archival of the messages
list stops working.

manual workaround: 
1) fix list.mbox file by hand
2) run mmarch listname
3) unshunt messages.


*** log file follows 
Oct 11 22:11:07 2005 (2842) Uncaught runner exception: [Errno 36] File
name too long:
'/var/lib/mailman/archives/private/mmtest1/attachments/20051011/e80a0988/windows-1257QptE4p
ikutesttE4pikutesttE4pikutesttE4pikutesttE4pikwindows-1257QutesttE4pikutesttE4pikutesttE4pikutesttE4pikutwindows-1257QesttE4pikutesttE4pikutesttE4pikutesttE4pikutesttE4pwindows-
1257QikutesttE4pikutesttE4pikutesttE4pikutesttE4pikutesttwindows-1257QE4pikutesttE4pikutesttE4pikutesttE4pikutesttE4pikutwindows-1257QesttE4pikutesttE4pikutestt.obj'
Oct 11 22:11:07 2005 (2842) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in
_dispose
    mlist.ArchiveMail(msg)
  File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 215, in
ArchiveMail
    h.processUnixMailbox(f)
  File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 553, in
processUnixMailbox
    m = mbox.next()
  File "/usr/lib/python2.3/mailbox.py", line 35, in next
    return self.factory(_Subfile(self.fp, start, stop))
  File "/usr/lib/mailman/Mailman/Mailbox.py", line 89, in scrubber
    return mailbox.scrub(msg)
  File "/usr/lib/mailman/Mailman/Mailbox.py", line 109, in scrub
    return self._scrubber(self._mlist, msg)
  File "/usr/lib/mailman/Mailman/Handlers/Scrubber.py", line 265, in
process
    url = save_attachment(mlist, part, dir)
  File "/usr/lib/mailman/Mailman/Handlers/Scrubber.py", line 447, in
save_attachment
    fp = open(path, 'w')
IOError: [Errno 36] File name too long:
'/var/lib/mailman/archives/private/mmtest1/attachments/20051011/e80a0988/windows-1257QptE4pikutesttE4pikutesttE4pikutesttE4pikutesttE4pik
windows-1257QutesttE4pikutesttE4pikutesttE4pikutesttE4pikutwindows-1257QesttE4pikutesttE4pikutesttE4pikutesttE4pikutesttE4pwindows-1257QikutesttE4pikutesttE4pikutesttE4pikutestt
E4pikutesttwindows-1257QE4pikutesttE4pikutesttE4pikutesttE4pikutesttE4pikutwindows-1257QesttE4pikutesttE4pikutestt.obj'

Oct 11 22:11:07 2005 (2842) SHUNTING:
1129057753.2210591+1e2acb83b44424b8903d776060b07d0af0e7f4ed


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11.12-grsec
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages mailman depends on:
ii  apache [httpd]            1.3.33-6sarge1 versatile, high-performance HTTP s
ii  cron                      3.0pl1-86      management of regular background p
ii  debconf                   1.4.30.13      Debian configuration management sy
ii  libc6                     2.3.2.ds1-22   GNU C Library: Shared libraries an
ii  logrotate                 3.7-5          Log rotation utility
ii  postfix [mail-transport-a 2.1.5-9        A high-performance mail transport 
ii  pwgen                     2.03-1         Automatic Password generation
ii  python                    2.3.5-2        An interactive high-level object-o
ii  ucf                       1.17           Update Configuration File: preserv

-- debconf information:
  mailman/queue_files_present:
  mailman/default_server_language: en
  mailman/gate_news: false
* mailman/site_languages: en
* mailman/used_languages:
* mailman/create_site_list:



Information forwarded to [email protected], Mailman for Debian <[email protected]>:
Bug#333491; Package mailman. (full text, mbox, link).


Acknowledgement sent to Lionel Elie Mamane <[email protected]>:
Extra info received and forwarded to list. Copy sent to Mailman for Debian <[email protected]>. (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Lionel Elie Mamane <[email protected]>
To: [email protected], [email protected]
Cc: [email protected]
Subject: Mailman Debian bug: long non-ascii attachment filename breaks archive handling and blocks list
Date: Sun, 25 Dec 2005 15:29:42 +0100
forwarded 333491 https://sourceforge.net/tracker/index.php?func=detail&aid=1293267&group_id=103&atid=100103
thanks

A work-around for this bug is documented upstream:

 Upgrading to MM 2.1.6 and setting the configuration variable
 mm_cfg.SCRUBBER_DONT_USE_ATTACHMENT_FILENAME = True
 might avoid this problem

-- 
Lionel



Noted your statement that Bug has been forwarded to https://sourceforge.net/tracker/index.php?func=detail&aid=1293267&group_id=103&atid=100103. Request was from Lionel Elie Mamane <[email protected]> to [email protected]. (full text, mbox, link).


Message sent on to Heno Ivanov <[email protected]>:
Bug#333491. (full text, mbox, link).


Information forwarded to [email protected], Mailman for Debian <[email protected]>:
Bug#333491; Package mailman. (full text, mbox, link).


Acknowledgement sent to Lionel Elie Mamane <[email protected]>:
Extra info received and forwarded to list. Copy sent to Mailman for Debian <[email protected]>. (full text, mbox, link).


Message #20 received at [email protected] (full text, mbox, reply):

From: Lionel Elie Mamane <[email protected]>
To: [email protected]
Subject: Mailman: long non-ascii attachment filename breaks archive handling and blocks list
Date: Sun, 29 Jan 2006 18:36:52 +0100
> long-named attachment with special characters breaks archival of the
> messages list stops working.

A long-term work-around has been published upstream:

 Upgrading to MM 2.1.6 and setting the configuration variable
 mm_cfg.SCRUBBER_DONT_USE_ATTACHMENT_FILENAME = True
 might avoid this problem

-- 
Lionel



Forwarded-to-address changed from https://sourceforge.net/tracker/index.php?func=detail&aid=1293267&group_id=103&atid=100103 to http://sf.net/support/tracker.php?aid=1293267. Request was from Matej Vela <[email protected]> to [email protected]. (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 15:44:00 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.