Errno 36: filename too long -- stops mail delivery
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
New
|
Medium
|
Unassigned |
Bug Description
A user sent a Bugzilla page with an auto-generated
filename (basically, the query used to generate the
page) as an attachment.
Unfortunately, this filename is long enough to
overwhelm the pathname limit on Linux ext3 file
systems. (See below.) This, in turn, prevents
subsequent mail from being delivered.
Version info:
mailman-
Mandrake Linux release 10.0 (Official) for i586
For example,
$ /usr/bin/python -S /usr/lib/
Traceback (most recent call last):
File "/usr/lib/
main()
File "/usr/lib/
main
mlist.
File "/usr/lib/
in send_digest_now
ToDigest.
File "/usr/lib/
line 132, in send_digests
send_
File "/usr/lib/
line 306, in send_i18n_digests
msg = scrubber(mlist, msg)
File "/usr/lib/
line 227, in process
url = save_attachment
filter_html=False)
File "/usr/lib/
line 445, in save_attachment
fp = open(path, 'w')
IOError: [Errno 36] File name too long:
'/var/lib/
.cgiquery_
ong_desc_
ug_statusNEWbug
ailassigned_
ncludebug_
noopvalue0-
[http://
Upgrading to MM 2.1.6 and setting the configuration variable SCRUBBER_ DONT_USE_ ATTACHMENT_ FILENAME = True
mm_cfg.
might avoid this problem