Some msgs won't have a Content-Disposition header.
Mar 06 13:46:43 2021 (6223) uncaught archiver exception at filepos: 0
Mar 06 13:46:43 2021 (6223) Uncaught runner exception: 'NoneType' object has no
attribute 'lower'
Mar 06 13:46:43 2021 (6223) Traceback (most recent call last):
File "/var/lib/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop
self._onefile(msg, msgdata)
File "/var/lib/mailman/Mailman/Queue/Runner.py", line 190, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/var/lib/mailman/Mailman/Queue/ArchRunner.py", line 77, in _dispose
mlist.ArchiveMail(msg)
File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 250, in ArchiveMail
h.processUnixMailbox(f)
File "/var/lib/mailman/Mailman/Archiver/pipermail.py", line 584, in
processUnixMailbox
m = mbox.next()
File "/usr/lib/python2.7/mailbox.py", line 2076, in next
return self.factory(_PartialFile(self.fp, start, stop))
File "/var/lib/mailman/Mailman/Mailbox.py", line 90, in scrubber
return mailbox.scrub(msg)
File "/var/lib/mailman/Mailman/Mailbox.py", line 110, in scrub
return self._scrubber(self._mlist, msg)
File "/var/lib/mailman/Mailman/Handlers/Scrubber.py", line 205, in process
if part.get('content-disposition').lower() == 'attachment' and \
AttributeError: 'NoneType' object has no attribute 'lower'
--
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1917968
Title:
A text/plain message body is scrubbed with a .ksh extension
To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1917968/+subscriptions
_______________________________________________
Mailman-coders mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-coders.python.org/
Member address: [email protected]