Applied without problems, but gave me the following error when running
bin/arch (not on the mbox I submitted, though):
Traceback (most recent call last):
File "bin/arch", line 187, in ?
main()
File "bin/arch", line 175, in main
archiver.processUnixMailbox(fp, start, end)
File "/home/mailman/Mailman/Archiver/pipermail.py", line 544,
in
processUnixMailbox
m = mbox.next()
File "/usr/lib/python2.2/mailbox.py", line 33, in next
return self.factory(_Subfile(self.fp, start, stop))
File "/home/mailman/Mailman/Mailbox.py", line 79, in scrubber
return mailbox.scrub(msg)
File "/home/mailman/Mailman/Mailbox.py", line 99, in scrub
return self._scrubber(self._mlist, msg)
File "/home/mailman/Mailman/Handlers/Scrubber.py", line 145,
in process
cs = csre.search(part['content-type'])
TypeError: expected string or buffer
The offending message had no "Content-Type:" field in its
header. (It was,
of course, produced by a Microsoft product... ;)
Some issues from my earlier subimtted example that still needs to be
fixed:
1. The attachment file name still becomes ".dot", not
".doc" as it should
have been. Also, the reported size is wrong (larger) than the actual
file.
2. "The attachment was scrubbed" part in the archive web page
is still sort
of "attached" to the message itself, e.g. to the email signature
of the user
that posted the message.
Applied without problems, but gave me the following error when running
bin/arch (not on the mbox I submitted, though):
Traceback (most recent call last): processUnixMail box(fp, start, end) mailman/ Mailman/ Archiver/ pipermail. py", line 544, python2. 2/mailbox. py", line 33, in next _Subfile( self.fp, start, stop)) mailman/ Mailman/ Mailbox. py", line 79, in scrubber mailman/ Mailman/ Mailbox. py", line 99, in scrub self._mlist, msg) mailman/ Mailman/ Handlers/ Scrubber. py", line 145, part['content- type'])
File "bin/arch", line 187, in ?
main()
File "bin/arch", line 175, in main
archiver.
File "/home/
in
processUnixMailbox
m = mbox.next()
File "/usr/lib/
return self.factory(
File "/home/
return mailbox.scrub(msg)
File "/home/
return self._scrubber(
File "/home/
in process
cs = csre.search(
TypeError: expected string or buffer
The offending message had no "Content-Type:" field in its
header. (It was,
of course, produced by a Microsoft product... ;)
Some issues from my earlier subimtted example that still needs to be
fixed:
1. The attachment file name still becomes ".dot", not
".doc" as it should
have been. Also, the reported size is wrong (larger) than the actual
file.
2. "The attachment was scrubbed" part in the archive web page
is still sort
of "attached" to the message itself, e.g. to the email signature
of the user
that posted the message.