Comment 7 for bug 265847

Avalon-users (avalon-users) wrote :

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 ?
  File "bin/arch", line 175, in main
    archiver.processUnixMailbox(fp, start, end)
  File "/home/mailman/Mailman/Archiver/", line 544,
    m =
  File "/usr/lib/python2.2/", line 33, in next
    return self.factory(_Subfile(self.fp, start, stop))
  File "/home/mailman/Mailman/", line 79, in scrubber
    return mailbox.scrub(msg)
  File "/home/mailman/Mailman/", line 99, in scrub
    return self._scrubber(self._mlist, msg)
  File "/home/mailman/Mailman/Handlers/", line 145,
in process
    cs =['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
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
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.