You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Alex (JIRA)" <se...@james.apache.org> on 2016/09/19 07:49:20 UTC

[jira] [Comment Edited] (JAMES-1824) Problem with encoding

    [ https://issues.apache.org/jira/browse/JAMES-1824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15502621#comment-15502621 ] 

Alex edited comment on JAMES-1824 at 9/19/16 7:49 AM:
------------------------------------------------------

Hi Matthieu,
Thank you very much for such quick answer!!! This is what you asked.
{code}
#lsof -n -p 18932 | grep javamail
java    18932 mailer  mem    REG                9,1   463809 46007059 .../james-server-app-3.0.0-beta5-SNAPSHOT/lib/geronimo-javamail_1.4_mail-1.8.3.jar
java    18932 mailer   16r   REG                9,1   463809 46007059 .../james-server-app-3.0.0-beta5-SNAPSHOT/lib/geronimo-javamail_1.4_mail-1.8.3.jar
{code}
I don't if it matters but I had this bug https://issues.apache.org/jira/browse/JAMES-1640 and I solved it as the last comment suggested (rebuilt apache-mime4j-core with changes). I will do everything what is necessary to solve the problem. If you explain what I must do.


was (Author: alex sviridov):
Hi Matthieu,
Thank you very much for such quick answer!!! This is what you asked.
{code}
#lsof -n -p 18932 | grep javamail
java    18932 mailer  mem    REG                9,1   463809 46007059 .../james-server-app-3.0.0-beta5-SNAPSHOT/lib/geronimo-javamail_1.4_mail-1.8.3.jar
java    18932 mailer   16r   REG                9,1   463809 46007059 .../james-server-app-3.0.0-beta5-SNAPSHOT/lib/geronimo-javamail_1.4_mail-1.8.3.jar
{/code}
I don't if it matters but I had this bug https://issues.apache.org/jira/browse/JAMES-1640 and I solved it as the last comment suggested (rebuilt apache-mime4j-core with changes). I will do everything what is necessary to solve the problem. If you explain what I must do.

> Problem with encoding
> ---------------------
>
>                 Key: JAMES-1824
>                 URL: https://issues.apache.org/jira/browse/JAMES-1824
>             Project: James Server
>          Issue Type: Bug
>    Affects Versions: 3.0.0-beta5
>         Environment: Debian 8.5
>            Reporter: Alex
>
> I use v3-beta5 version andI have the following problem. I have james server and two users on it userA@example.com and userB@example.com
> 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
> This is the full message from userB to userC (I only changed email addresses and IPs for security reasons)
> {code}
> ########### 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: <us...@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 <us...@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: <us...@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 <us...@gmail.com>;
>           Sat, 17 Sep 2016 11:02:42 +0300 (MSK)
> To: UserC <us...@gmail.com>
> From: UserA <us...@example.com>
> Subject: =?UTF-8?B?0KHQvNC+0YLRgNC10Lsg0LLRh9C10YDQsCDRhNGD0YLQsdC+0Ls/?=
> Message-ID: <57...@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 ##############
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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