ruizhe zhao wrote:

>Hi everybody, I'm Chinese. My company use mailman to manage the maillist,
>and I was hired last week for matain the mailman.
>At yesterday, I found a problem, when the maillist manager get a
>message(mail) that is to notify the manager a pending mail need to confirm,
>and then open the second attachment and reply it. If some email client
>encode the first plain/text content of the manager's confirmation mail to
>base64, and then the confirmation will be failed.
>
>Is this a problem?


If you are trying to approve the original post by including "Approved:
password" as the first line of the reply, and the post is discarded
instead, this is a bug.

I have just created a bug report at
<https://bugs.launchpad.net/mailman/+bug/677115>, and I think the
attached MailList.patch.txt patch will fix it. I would appreciate your
trying the patch and reporting back.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

=== modified file 'Mailman/MailList.py'
--- Mailman/MailList.py 2010-06-29 16:01:58 +0000
+++ Mailman/MailList.py 2010-11-18 17:57:37 +0000
@@ -1258,7 +1258,7 @@
                     except IndexError:
                         subpart = None
                     if subpart:
-                        s = StringIO(subpart.get_payload())
+                        s = StringIO(subpart.get_payload(decode=True))
                         while True:
                             line = s.readline()
                             if not line:

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

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

Reply via email to