Mark Sapiro wrote:
>
>I have been able to duplicate the problem with the 2.1.5 version of
>Scrubber.py. I'll try to come up with a simple patch that you can
>apply to fix it. It is fixed in recent Scrubber.py versions.


I think you'd be better off upgrading your Mailman, but if you want to
try a patch to the 2.1.5 Scrubber.py, I think this should do it. It is
only lightly tested, but I think it's OK.

--- Scrubber.py 2008-11-22 20:21:38.375000000 -0800
+++ Scrubberx.py        2008-11-22 20:54:47.250000000 -0800
@@ -326,9 +326,8 @@
         # Now join the text and set the payload
         sep = _('-------------- next part --------------\n')
         del msg['content-type']
-        msg.set_payload(sep.join(text), charset)
         del msg['content-transfer-encoding']
-        msg.add_header('Content-Transfer-Encoding', '8bit')
+        msg.set_payload(sep.join(text), charset)
     return msg



-- 
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to