<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thank you for your fast help. I applied
      the newest version of your patch and the error didn't show up
      agian. But sadly i ran directly into the next bug:<br>
      <br>
      error: uncaptured python exception, closing channel
      <smtpd.SMTPChannel connected 127.0.0.1:58281 at 0x19e8bd8>
      (<type 'exceptions.AttributeError'>:Message instance has no
      attribute 'set_content_maintype'
      [/usr/lib/python2.7/asyncore.py|read|83]
      [/usr/lib/python2.7/asyncore.py|handle_read_event|449]
      [/usr/lib/python2.7/asynchat.py|handle_read|158]
      [/usr/lib/python2.7/smtpd.py|found_terminator|181]
[/usr/lib/python2.7/dist-packages/wallace/__init__.py|process_message|258])<br>
      <br>
      I hope i applied your patch correctly, i only changed the
      following lines:<br>
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <pre class="bz_comment_text">
-        if not msg.get_charset():
-            msg.set_charset("UTF-8")
+        if msg.get_content_maintype() == "text" and not msg.get_charset():
+            msg.set_charset("utf-8")</pre>
      <br>
      My version is the most recent from debian wheezy development repo.
      Hope you can help me again.<br>
      <br>
      Greetings<br>
      <br>
      Tilman Krösche<br>
    </div>
    <blockquote cite="mid:8010927989987136457@unknownmsgid" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <div>Please see my revised patch on Issue 1627<br>
        <br>
        Sent from my iPad</div>
      <div><br>
        On 28/08/2013, at 6:56, "Tilman Krösche" <<a
          moz-do-not-send="true"
          href="mailto:tilman.kroesche@namlit.com">tilman.kroesche@namlit.com</a>>
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div>
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          I updated to the recent Version from the Kolab 3.0 development
          branch pykolab 0.5.14-4. <br>
          Now wallace shows me the following error when i flush my
          postfix queue. <br>
          Any help appreciated.<br>
          <br>
          <i>error: uncaptured python exception, closing channel
            <smtpd.SMTPChannel connected <a moz-do-not-send="true"
              href="http://127.0.0.1:49664">127.0.0.1:49664</a> at
            0x2965bd8> (<type 'exceptions.TypeError'>:must be
            string or buffer, not list
            [/usr/lib/python2.7/asyncore.py|read|83]
            [/usr/lib/python2.7/asyncore.py|handle_read_event|449]
            [/usr/lib/python2.7/asynchat.py|handle_read|158]
            [/usr/lib/python2.7/smtpd.py|found_terminator|181]
            [/usr/lib/python2.7/dist-packages/wallace/__init__.py|process_message|259]


            [/usr/lib/python2 .7/email/message.py|set_charset|270]
            [/usr/lib/python2.7/email/charset.py|body_encode|393]
            [/usr/lib/python2.7/email/base64mime.py|encode|147])</i><br>
          <br>
          Greetings<br>
          <br>
          Tilman Krösche<br>
          <br>
          <pre class="moz-signature" cols="72">--
Tilman Krösche

namlit
Heideweg 11b
38120 Braunschweig

Tel.:    +49 (531) 225201-0
Mobil.:  +49 (171) 225201-2
Fax.:    +49 (531) 225201-9
E-Mail: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:tilman.kroesche@namlit.com">tilman.kroesche@namlit.com</a>
web:    <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.namlit.com">http://www.namlit.com</a> </pre>
        </div>
      </blockquote>
      <blockquote type="cite">
        <div><span>_______________________________________________</span><br>
          <span>devel mailing list</span><br>
          <span><a moz-do-not-send="true"
              href="mailto:devel@lists.kolab.org">devel@lists.kolab.org</a></span><br>
          <span><a moz-do-not-send="true"
              href="https://lists.kolab.org/mailman/listinfo/devel">https://lists.kolab.org/mailman/listinfo/devel</a></span></div>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:devel@lists.kolab.org">devel@lists.kolab.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kolab.org/mailman/listinfo/devel">https://lists.kolab.org/mailman/listinfo/devel</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Tilman Krösche

namlit
Heideweg 11b
38120 Braunschweig

Tel.:    +49 (531) 225201-0
Mobil.:  +49 (171) 225201-2
Fax.:    +49 (531) 225201-9
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:tilman.kroesche@namlit.com">tilman.kroesche@namlit.com</a>
web:    <a class="moz-txt-link-freetext" href="http://www.namlit.com">http://www.namlit.com</a> </pre>
  </body>
</html>