Xeams fails with utf-8 M
    Xeams fails with utf-8 M
    Xeams fails with utf-8 M
        Xeams fails with utf-8 Jochen

From: M
Date: 8/6/16 3:27 PM
Topic: Xeams fails with utf-8
Type: General Discussions
Post a follow up

Hello,

this problem is not new to me, but i figured to face it. Xeams is freshly installed, as it broke with the upgrade to ubuntu server 16. 

All encoding settings are set to UTF-8, on system, java in run.sh, and it shows everything is set to UTF-8 on the about page.

So, sending emails with german umlauts (äöü), Euro sign (€), greek letters (like lambda, µ ...) works fine, but it is not possible to save these messages, as drafts or in a folder (i assume using IMAP).

In the IMAP logs it stopps at "ready for literal".

************** New Connection from: 27.56.242.3 **************
2016-08-06 21:13:10,544 - - [ 8389] S <-- * OK Synametrics IMAP4rev1 server ready 06.08.16 21:13
2016-08-06 21:13:10,881 - - [ 8389] C --> 1 CAPABILITY
2016-08-06 21:13:10,881 - - [ 8389] S <-- * CAPABILITY IMAP4rev1 IDLE
2016-08-06 21:13:10,881 - - [ 8389] S <-- 1 OK CAPABILITY completed
2016-08-06 21:13:10,890 - - [ 8389] C --> 2 LOGIN "xxx@xxxx.xx" xxxxxx
2016-08-06 21:13:10,890 - - [ 8389] S <-- 2 OK LOGIN completed
2016-08-06 21:13:10,893 - - [ 8389] C --> 3 SELECT "Drafts"
2016-08-06 21:13:10,896 - - [ 8389] S <-- * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
2016-08-06 21:13:10,896 - - [ 8389] S <-- * 2 EXISTS
2016-08-06 21:13:10,896 - - [ 8389] S <-- * OK [UIDVALIDITY 10] UID validity status
2016-08-06 21:13:10,896 - - [ 8389] S <-- * OK [UIDNEXT 7] Predicted next UID
2016-08-06 21:13:10,896 - - [ 8389] S <-- * 0 RECENT
2016-08-06 21:13:10,896 - - [ 8389] S <-- * OK [PERMENENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft)]
2016-08-06 21:13:10,896 - - [ 8389] S <-- 3 OK [READ-WRITE] SELECT completed
2016-08-06 21:13:10,946 - - [ 8389] C --> 4 UID SEARCH HEADER MESSAGE-ID "[...]"
2016-08-06 21:13:10,946 - - [ 8389] S <-- 4 OK SEARCH completed
2016-08-06 21:13:10,982 - - [ 8389] C --> 5 NOOP
2016-08-06 21:13:10,983 - - [ 8389] S <-- * 2 EXISTS
2016-08-06 21:13:10,983 - - [ 8389] S <-- * 0 RECENT
2016-08-06 21:13:10,983 - - [ 8389] S <-- 5 OK NOOP completed
2016-08-06 21:13:10,989 - - [ 8389] C --> 6 APPEND "Drafts" (\Seen) {771}
2016-08-06 21:13:10,989 - - [ 8389] S <-- + Ready for append literal
2016-08-06 21:15:26,910 - - [ 8389] ~~~~~~~~~~~~~~ Connection closed: 27.56.242.3 (136728 ms)~~~~~~~~~~~~~~

I assume this is a problem with the IMAP server? 

Setting the charset to some ISO-5589 as found on very old support discussions doesnt help, it just bugs up the characters.

As a client, i am using k-9 Mail client for android, and roundcube webmail (also set to utf8). Both produce these Problems.

 

This is an example message i sent to myself, which fails to save as a draft:

X-LCID: 24901
Received: from [(27.56.242.3)] by mgp with Xeams SMTP; Sat, 6 Aug 2016 21:15:28 +0200 (CEST)
X-SM_EnvelopeFrom: ***@*******
X-SMRecipient: ***@*******
X-SM_RECEIVED_ON: Sat, 6 Aug 2016 21:15:28 +0200 (CEST)
User-Agent: K-9 Mail for Android
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----HAQJ7NHA04GWGX294GZ9GUJF7130M5"
Content-Transfer-Encoding: 7bit
Subject:
From: M <***@********>
Date: Sat, 06 Aug 2016 21:12:10 +0200
To: M <***@******>
Message-ID: <[...]>

------HAQJ7NHA04GWGX294GZ9GUJF7130M5
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Ha h=E2=82=A4l
=CE=9B =C3=A4=C3=A6=C5=AB
--=20
M vom Telefon
------HAQJ7NHA04GWGX294GZ9GUJF7130M5
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

Ha h=E2=82=A4l<br>
=CE=9B =C3=A4=C3=A6=C5=AB<br>
-- <br>
M
------HAQJ7NHA04GWGX294GZ9GUJF7130M5--

 

Top

From: M
Date: 8/13/16 7:31 PM
Topic: Xeams fails with utf-8
Type: General Discussions
Post a follow up

[14-Aug-2016 01:32:52 +0200]: <jn0rr8qh> [A0F0] S: + Ready for append literal
[14-Aug-2016 01:32:52 +0200]: <jn0rr8qh> [A0F0] C: MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8;
format=flowed
Content-Transfer-Encoding: 8bit
Date: Sun, 14 Aug 2016 01:32:52 +0200
From: M <...@....>
To: "M" <...@....>
Subject:
Message-ID: <c911d6582894fd57ecce76224de27b55@mgp.ax.lt>
X-Sender: ...@....
User-Agent: Roundcube Webmail/1.2.1

ahhlo

höö
--
--
M
[14-Aug-2016 01:32:52 +0200]: <jn0rr8qh> [A0F0] C:

 

now nothing happens until the connection times out.

Top

From: M
Date: 8/13/16 7:31 PM
Topic: Xeams fails with utf-8
Type: General Discussions
Post a follow up

[14-Aug-2016 01:32:52 +0200]: <jn0rr8qh> [A0F0] S: + Ready for append literal
[14-Aug-2016 01:32:52 +0200]: <jn0rr8qh> [A0F0] C: MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8;
format=flowed
Content-Transfer-Encoding: 8bit
Date: Sun, 14 Aug 2016 01:32:52 +0200
From: M <...@....>
To: "M" <...@....>
Subject:
Message-ID: <c911d6582894fd57ecce76224de27b55@m>
X-Sender: ...@....
User-Agent: Roundcube Webmail/1.2.1

ahhlo

höö
--
--
M
[14-Aug-2016 01:32:52 +0200]: <jn0rr8qh> [A0F0] C:

 

now nothing happens until the connection times out.

Top

From: Jochen
Date: 5/24/17 9:19 AM
Topic: Xeams fails with utf-8
Type: General Discussions
Post a follow up

Did you ever find a solution for the problem? I'm facing the same problem.

Top