You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Alex Sviridov <oo...@mail.ru.INVALID> on 2016/09/19 07:13:55 UTC

Re[2]: AW: Apache James - Problem with encoding [unsigned]

No one can help me? Doesn't james support utf8 out of box?


>Воскресенье, 18 сентября 2016, 8:58 +03:00 от Alex Sviridov <oo...@mail.ru.INVALID>:
>
>Hello Bernd,
>
>Thank you for your answer. I am attaching the source of the message (I only changed email addresses and IPs for security reasons)
>########### START ##############
>Delivered-To:  userC@gmail.com
>Received: by 0.0.0.0 with SMTP id y71csp60203ivf;
>        Sat, 17 Sep 2016 01:02:11 -0700 (PDT)
>X-Received: by 0.0.0.0 with SMTP id p187mr6881075lfe.48.1474099331684;
>        Sat, 17 Sep 2016 01:02:11 -0700 (PDT)
>Return-Path: < userA@example.com >
>Received: from mail.example.com ([0.0.0.0])
>        by mx.google.com with ESMTP id f144si273780lfd.145.2016.09.17.01.02.11
>        for < userC@gmail.com >;
>        Sat, 17 Sep 2016 01:02:11 -0700 (PDT)
>Received-SPF: neutral (google.com: 0.0.0.0 is neither permitted nor denied by best guess record for domain of userA@example.com) client-ip=0.0.0.0;
>Authentication-Results: mx.google.com;
>       spf=neutral (google.com: 0.0.0.0 is neither permitted nor denied by best guess record for domain of userA@example.com)  smtp.mailfrom=userA@example.com
>MIME-Version: 1.0
>Content-Type: text/plain; charset=UTF-8
>Content-Transfer-Encoding: 8bit
>X-MIME-Autoconverted: from 8bit to quoted-printable by Apache JAMES
>Return-Path: < userA@example.com >
>X-UserIsAuth: true
>Received: from 0.0.0.0 (EHLO [0.0.0.0]) ([0.0.0.0])
>          by server1 (JAMES SMTP Server ) with ESMTPA ID 1844125562
>          for < userC@gmail.com >;
>          Sat, 17 Sep 2016 11:02:42 +0300 (MSK)
>To: UserC < userC@gmail.com >
>From: UserA < userA@example.com >
>Subject: =?UTF-8?B?0KHQvNC+0YLRgNC10Lsg0LLRh9C10YDQsCDRhNGD0YLQsdC+0Ls/?=
>Message-ID: < 57DCF882.50809@example.com >
>Date: Sat, 17 Sep 2016 11:02:10 +0300
>User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
> Thunderbird/38.8.0
>
>???????? ????. ??? ????? ??????????
>
>########### END ##############
>
>Best regards, Alex
>
>
>>Воскресенье, 18 сентября 2016, 0:11 +03:00 от Bernd Waibel < BWaibel@intarsys.de >:
>>
>>Hi Alex,
>>
>>I think I could not help.
>>But could you post an example converted mail (with the ????).
>>
>>Best regards
>>Bernd Waibel
>>-----Ursprüngliche Nachricht-----
>>Von: Alex Sviridov [mailto:ooo_saturn7@mail.ru.INVALID] 
>>Gesendet: Samstag, 17. September 2016 10:12
>>An: server-user <  server-user@james.apache.org >
>>Betreff: Apache James - Problem with encoding
>>
>>Hi all
>>
>>I use v3-beta5 version andI have the following problem. I have james server and two users on it userA and userB. 
>>
>>Messages in Cyrillic (UTF-8) from userA go to userB and from userB go to userA without any encoding problems.
>>
>>However, when I send messages in cyrillic to external smtp server, for example  userC@gmail.com I have ????? ???? in body. I compared messages.
>>
>>When from userA to userB (no external smtp server) I have:
>>Content-Type: text/plain; charset=utf-8; format=flowed
>>Content-Transfer-Encoding: 8bit
>>
>>When from userA to userC (external smpty server) I have
>>Content-Type: text/plain; charset=UTF-8
>>Content-Transfer-Encoding: 8bit
>>X-MIME-Autoconverted: from 8bit to quoted-printable by Apache JAMES
>>How to fix it?
>>-- 
>>Alex Sviridov
>
>
>-- 
>Alex Sviridov


-- 
Alex Sviridov

Re: AW: Apache James - Problem with encoding [unsigned]

Posted by Guofeng Zhang <gu...@auslides.com>.
Hi,

We use JavaMail to work with Jame 3 beta5. It has no problem using 
UTF-8. We transfer Chinese characters in body, subject, attached file 
(file name could be also chinese), From, To.

Please check if you could ouput your char set in a normal Java program 
in the same place (such as the console).

Thanks,

Guofeng



\u5728 2016/9/19 15:13, Alex Sviridov \u5199\u9053:
> No one can help me? Doesn't james support utf8 out of box?
>
>
>> \u0412\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435, 18 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f 2016, 8:58 +03:00 \u043e\u0442 Alex Sviridov <oo...@mail.ru.INVALID>:
>>
>> Hello Bernd,
>>
>> Thank you for your answer. I am attaching the source of the message (I only changed email addresses and IPs for security reasons)
>> ########### START ##############
>> Delivered-To:  userC@gmail.com
>> Received: by 0.0.0.0 with SMTP id y71csp60203ivf;
>>          Sat, 17 Sep 2016 01:02:11 -0700 (PDT),
>> X-Received: by 0.0.0.0 with SMTP id p187mr6881075lfe.48.1474099331684;
>>          Sat, 17 Sep 2016 01:02:11 -0700 (PDT)
>> Return-Path: < userA@example.com >
>> Received: from mail.example.com ([0.0.0.0])
>>          by mx.google.com with ESMTP id f144si273780lfd.145.2016.09.17.01.02.11
>>          for < userC@gmail.com >;
>>          Sat, 17 Sep 2016 01:02:11 -0700 (PDT)
>> Received-SPF: neutral (google.com: 0.0.0.0 is neither permitted nor denied by best guess record for domain of userA@example.com) client-ip=0.0.0.0;
>> Authentication-Results: mx.google.com;
>>         spf=neutral (google.com: 0.0.0.0 is neither permitted nor denied by best guess record for domain of userA@example.com)  smtp.mailfrom=userA@example.com
>> MIME-Version: 1.0
>> Content-Type: text/plain; charset=UTF-8
>> Content-Transfer-Encoding: 8bit
>> X-MIME-Autoconverted: from 8bit to quoted-printable by Apache JAMES
>> Return-Path: < userA@example.com >
>> X-UserIsAuth: true
>> Received: from 0.0.0.0 (EHLO [0.0.0.0]) ([0.0.0.0])
>>            by server1 (JAMES SMTP Server ) with ESMTPA ID 1844125562
>>            for < userC@gmail.com >;
>>            Sat, 17 Sep 2016 11:02:42 +0300 (MSK)
>> To: UserC < userC@gmail.com >
>> From: UserA < userA@example.com >
>> Subject: =?UTF-8?B?0KHQvNC+0YLRgNC10Lsg0LLRh9C10YDQsCDRhNGD0YLQsdC+0Ls/?=
>> Message-ID: < 57DCF882.50809@example.com >
>> Date: Sat, 17 Sep 2016 11:02:10 +0300
>> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
>>   Thunderbird/38.8.0
>>
>> ???????? ????. ??? ????? ??????????
>>
>> ########### END ##############
>>
>> Best regards, Alex
>>
>>
>>> \u0412\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435, 18 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f 2016, 0:11 +03:00 \u043e\u0442 Bernd Waibel < BWaibel@intarsys.de >:
>>>
>>> Hi Alex,
>>>
>>> I think I could not help.
>>> But could you post an example converted mail (with the ????).
>>>
>>> Best regards
>>> Bernd Waibel
>>> -----Urspr�ngliche Nachricht-----
>>> Von: Alex Sviridov [mailto:ooo_saturn7@mail.ru.INVALID]
>>> Gesendet: Samstag, 17. September 2016 10:12
>>> An: server-user <  server-user@james.apache.org >
>>> Betreff: Apache James - Problem with encoding
>>>
>>> Hi all
>>>
>>> I use v3-beta5 version andI have the following problem. I have james server and two users on it userA and userB.
>>>
>>> Messages in Cyrillic (UTF-8) from userA go to userB and from userB go to userA without any encoding problems.
>>>
>>> However, when I send messages in cyrillic to external smtp server, for example  userC@gmail.com I have ????? ???? in body. I compared messages.
>>>
>>> When from userA to userB (no external smtp server) I have:
>>> Content-Type: text/plain; charset=utf-8; format=flowed
>>> Content-Transfer-Encoding: 8bit
>>>
>>> When from userA to userC (external smpty server) I have
>>> Content-Type: text/plain; charset=UTF-8
>>> Content-Transfer-Encoding: 8bit
>>> X-MIME-Autoconverted: from 8bit to quoted-printable by Apache JAMES
>>> How to fix it?
>>> -- 
>>> Alex Sviridov
>>
>> -- 
>> Alex Sviridov
>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org