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

2016-09-21 Thread Paul Lee (JIRA)

 [ 
https://issues.apache.org/jira/browse/JAMES-1824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Lee updated JAMES-1824:

Comment: was deleted

(was: I also experienced the same problem before. It seems to happen when you 
run the wrapper on a 64-bit machine, but the script 'james.bat' just looks for 
the 32-bit version of the wrapper.
I resolved the problem just by copying the 64-bit version of the wrapper to the 
32-bit version. That is, I copied 'wrapper-windows-x86-64.exe' to 
'wrapper-windows-x86-32.exe' and tried to run 'james.bat'. It worked with no 
problem.
)

> 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 us...@example.com and us...@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 us...@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: us...@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: 
> 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 ;
> 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 us...@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 us...@example.com) 
> smtp.mailfrom=us...@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: 
> 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 ;
>   Sat, 17 Sep 2016 11:02:42 +0300 (MSK)
> To: UserC 
> From: UserA 
> Subject: =?UTF-8?B?0KHQvNC+0YLRgNC10Lsg0LLRh9C10YDQsCDRhNGD0YLQsdC+0Ls/?=
> Message-ID: <57dcf882.50...@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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (JAMES-1824) Problem with encoding

2016-09-21 Thread Matthieu Baechler (JIRA)

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

Matthieu Baechler commented on JAMES-1824:
--

I just merged JAMES-1806

> 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 us...@example.com and us...@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 us...@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: us...@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: 
> 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 ;
> 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 us...@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 us...@example.com) 
> smtp.mailfrom=us...@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: 
> 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 ;
>   Sat, 17 Sep 2016 11:02:42 +0300 (MSK)
> To: UserC 
> From: UserA 
> Subject: =?UTF-8?B?0KHQvNC+0YLRgNC10Lsg0LLRh9C10YDQsCDRhNGD0YLQsdC+0Ls/?=
> Message-ID: <57dcf882.50...@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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (JAMES-1806) Unable to run windows service on 64bit platform (Windows 10)

2016-09-21 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on JAMES-1806:
---

Github user mbaechler commented on the issue:

https://github.com/apache/james-project/pull/45
  
I just merged this one.


> Unable to run windows service on 64bit platform (Windows 10)
> 
>
> Key: JAMES-1806
> URL: https://issues.apache.org/jira/browse/JAMES-1806
> Project: James Server
>  Issue Type: Bug
>  Components: Deployment Modules
>Affects Versions: 3.0-beta4
> Environment: Windows 10, 64bit, running as Windows Service
>Reporter: Bernd Waibel
>Priority: Blocker
>  Labels: maven, windows
> Fix For: 3.0.0-beta5
>
>
> The james server could not been run on 64bit Windows platform running as 
> service. It simply misses "wrapper-windows-x86-64.exe".
> The "Java Service Wrapper" JSW from Tanuki does support the 64bit service, it 
> is just not packaged. 
> The license does not distinquish between 32bit and 64bit.
> http://wrapper.tanukisoftware.com/doc/german/licenseOverview.html
> Solution:
> add "windows-x86-64" to "jsw" in 
> pom.xml
> add " to " id='TanukiSoftware'>" in licensing.xml
> We will supply a pull request.



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

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



[jira] [Commented] (JAMES-1806) Unable to run windows service on 64bit platform (Windows 10)

2016-09-21 Thread Matthieu Baechler (JIRA)

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

Matthieu Baechler commented on JAMES-1806:
--

merged on master

> Unable to run windows service on 64bit platform (Windows 10)
> 
>
> Key: JAMES-1806
> URL: https://issues.apache.org/jira/browse/JAMES-1806
> Project: James Server
>  Issue Type: Bug
>  Components: Deployment Modules
>Affects Versions: 3.0-beta4
> Environment: Windows 10, 64bit, running as Windows Service
>Reporter: Bernd Waibel
>Priority: Blocker
>  Labels: maven, windows
> Fix For: 3.0.0-beta5
>
>
> The james server could not been run on 64bit Windows platform running as 
> service. It simply misses "wrapper-windows-x86-64.exe".
> The "Java Service Wrapper" JSW from Tanuki does support the 64bit service, it 
> is just not packaged. 
> The license does not distinquish between 32bit and 64bit.
> http://wrapper.tanukisoftware.com/doc/german/licenseOverview.html
> Solution:
> add "windows-x86-64" to "jsw" in 
> pom.xml
> add " to " id='TanukiSoftware'>" in licensing.xml
> We will supply a pull request.



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

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



james-project git commit: JAMES-1806 Unable to run windows service on 64bit platform (Windows 10)

2016-09-21 Thread matthieu
Repository: james-project
Updated Branches:
  refs/heads/master 986d15fe4 -> 3c15732e7


JAMES-1806 Unable to run windows service on 64bit platform (Windows 10)

Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/3c15732e
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/3c15732e
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/3c15732e

Branch: refs/heads/master
Commit: 3c15732e7107549468eab81933ab969f6fa1072c
Parents: 986d15f
Author: bwa 
Authored: Thu Jul 21 15:51:36 2016 +0200
Committer: Matthieu Baechler 
Committed: Wed Sep 21 14:07:43 2016 +0200

--
 server/app/pom.xml  | 1 +
 server/app/src/main/licensing/app/licensing.xml | 1 +
 2 files changed, 2 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/james-project/blob/3c15732e/server/app/pom.xml
--
diff --git a/server/app/pom.xml b/server/app/pom.xml
index 9f8c8a5..ef15e15 100644
--- a/server/app/pom.xml
+++ b/server/app/pom.xml
@@ -805,6 +805,7 @@
 
solaris-sparc-64
 
solaris-x86-32
 
windows-x86-32
+
windows-x86-64
 
 
 

http://git-wip-us.apache.org/repos/asf/james-project/blob/3c15732e/server/app/src/main/licensing/app/licensing.xml
--
diff --git a/server/app/src/main/licensing/app/licensing.xml 
b/server/app/src/main/licensing/app/licensing.xml
index adf5438..46162b3 100644
--- a/server/app/src/main/licensing/app/licensing.xml
+++ b/server/app/src/main/licensing/app/licensing.xml
@@ -1132,6 +1132,7 @@ The Apache Software Foundation (http://www.apache.org/).
 
 
 
+
 
 
 


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



[jira] [Commented] (JAMES-1824) Problem with encoding

2016-09-21 Thread Paul Lee (JIRA)

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

Paul Lee commented on JAMES-1824:
-

The above error happens because there is no 'indexer.xml' file in the 'conf/' 
folder. It is necessary for James to start up. You can easily make the file by 
copying 'indexer-template.xml'. But there are some more necessary files for 
James startup. I'm not sure, but probably, the list of the files is as follows.
indexer.xml, quota.xml, managesieveserver.xml, events.xml, mailetcontainer.xml.

You can make all the files based on their template files located in the 'conf/' 
folder of James.

> 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 us...@example.com and us...@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 us...@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: us...@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: 
> 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 ;
> 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 us...@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 us...@example.com) 
> smtp.mailfrom=us...@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: 
> 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 ;
>   Sat, 17 Sep 2016 11:02:42 +0300 (MSK)
> To: UserC 
> From: UserA 
> Subject: =?UTF-8?B?0KHQvNC+0YLRgNC10Lsg0LLRh9C10YDQsCDRhNGD0YLQsdC+0Ls/?=
> Message-ID: <57dcf882.50...@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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (JAMES-1824) Problem with encoding

2016-09-21 Thread Andrei Ivanov (JIRA)

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

Andrei Ivanov commented on JAMES-1824:
--

I hope it gets accepted.
Anyway, I've modified the bat to use the 32 version and now I get this:
{noformat}
jvm 1| INFO  12:31:25,787 | 
org.apache.james.container.spring.context.JamesServerApplicationContext | 
Refreshing 
org.apache.james.container.spring.context.JamesServerApplicationContext@3a7c599d:
 startup date [Wed Sep 21 12:31:25 EEST
 2016]; root of context hierarchy
jvm 1| log4j:WARN No appenders could be found for logger 
(org.apache.commons.configuration.ConfigurationUtils).
jvm 1| log4j:WARN Please initialize the log4j system properly.
jvm 1| log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig 
for more info.
jvm 1| WARN  12:31:30,691 | 
org.apache.james.container.spring.context.JamesServerApplicationContext | 
Exception encountered during context initialization - cancelling refresh attempt
jvm 1| org.springframework.beans.FatalBeanException: Unable to config the 
indexer; nested exception is 
org.apache.commons.configuration.ConfigurationException: Unable to load 
configuration for component indexer
jvm 1|  at 
org.apache.james.container.spring.bean.factorypostprocessor.IndexerConfigurationBeanFactoryPostProcessor.postProcessBeanFactory(IndexerConfigurationBeanFactoryPostProcessor.java:67)
jvm 1|  at 
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:696)
jvm 1|  at 
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
jvm 1|  at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)
jvm 1|  at 
org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
jvm 1|  at 
org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:93)
jvm 1|  at 
org.apache.james.container.spring.context.JamesServerApplicationContext.(JamesServerApplicationContext.java:40)
jvm 1|  at 
org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
jvm 1|  at 
org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
jvm 1|  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1|  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1|  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
Source)
jvm 1|  at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1|  at 
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
jvm 1|  at java.lang.Thread.run(Unknown Source)
jvm 1| Caused by: org.apache.commons.configuration.ConfigurationException: 
Unable to load configuration for component indexer
jvm 1|  at 
org.apache.james.container.spring.lifecycle.ConfigurationProviderImpl.getConfiguration(ConfigurationProviderImpl.java:135)
jvm 1|  at 
org.apache.james.container.spring.bean.factorypostprocessor.IndexerConfigurationBeanFactoryPostProcessor.postProcessBeanFactory(IndexerConfigurationBeanFactoryPostProcessor.java:47)
jvm 1|  ... 14 more
{noformat}

> 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 us...@example.com and us...@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 us...@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: us...@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)
> 

[jira] [Commented] (JAMES-1824) Problem with encoding

2016-09-21 Thread Paul Lee (JIRA)

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

Paul Lee commented on JAMES-1824:
-

I also experienced the same problem before. It seems to happen when you run the 
wrapper on a 64-bit machine, but the script 'james.bat' just looks for the 
32-bit version of the wrapper.
I resolved the problem just by copying the 64-bit version of the wrapper to the 
32-bit version. That is, I copied 'wrapper-windows-x86-64.exe' to 
'wrapper-windows-x86-32.exe' and tried to run 'james.bat'. It worked with no 
problem.


> 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 us...@example.com and us...@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 us...@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: us...@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: 
> 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 ;
> 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 us...@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 us...@example.com) 
> smtp.mailfrom=us...@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: 
> 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 ;
>   Sat, 17 Sep 2016 11:02:42 +0300 (MSK)
> To: UserC 
> From: UserA 
> Subject: =?UTF-8?B?0KHQvNC+0YLRgNC10Lsg0LLRh9C10YDQsCDRhNGD0YLQsdC+0Ls/?=
> Message-ID: <57dcf882.50...@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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



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

2016-09-21 Thread Bernd Waibel (JIRA)

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

Bernd Waibel edited comment on JAMES-1824 at 9/21/16 9:28 AM:
--

The 64bit windows has been missing.
See Ticket (JAMES-1553) EDIT: JAMES-1806
We offered a pull request for this.


was (Author: bwaibel):
The 64bit windows has been missing.
See Ticket JAMES-1553
We offered a pull request for this.

> 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 us...@example.com and us...@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 us...@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: us...@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: 
> 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 ;
> 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 us...@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 us...@example.com) 
> smtp.mailfrom=us...@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: 
> 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 ;
>   Sat, 17 Sep 2016 11:02:42 +0300 (MSK)
> To: UserC 
> From: UserA 
> Subject: =?UTF-8?B?0KHQvNC+0YLRgNC10Lsg0LLRh9C10YDQsCDRhNGD0YLQsdC+0Ls/?=
> Message-ID: <57dcf882.50...@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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (JAMES-1824) Problem with encoding

2016-09-21 Thread Bernd Waibel (JIRA)

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

Bernd Waibel commented on JAMES-1824:
-

Sorry, Ticket JAMES-1806 was ment for Service Wrapper.
There should not be a license problem on 64bit. See ticket.


> 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 us...@example.com and us...@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 us...@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: us...@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: 
> 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 ;
> 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 us...@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 us...@example.com) 
> smtp.mailfrom=us...@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: 
> 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 ;
>   Sat, 17 Sep 2016 11:02:42 +0300 (MSK)
> To: UserC 
> From: UserA 
> Subject: =?UTF-8?B?0KHQvNC+0YLRgNC10Lsg0LLRh9C10YDQsCDRhNGD0YLQsdC+0Ls/?=
> Message-ID: <57dcf882.50...@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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (JAMES-1824) Problem with encoding

2016-09-21 Thread Bernd Waibel (JIRA)

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

Bernd Waibel commented on JAMES-1824:
-

The 64bit windows has been missing.
See Ticket JAMES-1553
We offered a pull request for this.

> 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 us...@example.com and us...@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 us...@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: us...@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: 
> 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 ;
> 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 us...@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 us...@example.com) 
> smtp.mailfrom=us...@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: 
> 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 ;
>   Sat, 17 Sep 2016 11:02:42 +0300 (MSK)
> To: UserC 
> From: UserA 
> Subject: =?UTF-8?B?0KHQvNC+0YLRgNC10Lsg0LLRh9C10YDQsCDRhNGD0YLQsdC+0Ls/?=
> Message-ID: <57dcf882.50...@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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



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

2016-09-21 Thread Andrei Ivanov (JIRA)

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

Andrei Ivanov edited comment on JAMES-1824 at 9/21/16 9:20 AM:
---

The build was fine now, but trying to start I get:
{noformat}
Unable to locate a Wrapper executable using any of the following names:
C:\temp\james-server-app-3.0.0-beta5-SNAPSHOT\bin\wrapper-windows-x86-32.exe
C:\temp\james-server-app-3.0.0-beta5-SNAPSHOT\bin\wrapper-windows-x86-64.exe
C:\temp\james-server-app-3.0.0-beta5-SNAPSHOT\bin\wrapper.exe
{noformat}

As far as I understand, it actually looks just for 
{{wrapper-windows-x86-32.exe}}, but only {{wrapper-windows-x86-32.exe}} is 
present there.


was (Author: shadow):
The build was fine now, but trying to start I get:
{noformat}
Unable to locate a Wrapper executable using any of the following names:
C:\temp\james-server-app-3.0.0-beta5-SNAPSHOT\bin\wrapper-windows-x86-32.exe
C:\temp\james-server-app-3.0.0-beta5-SNAPSHOT\bin\wrapper-windows-x86-64.exe
C:\temp\james-server-app-3.0.0-beta5-SNAPSHOT\bin\wrapper.exe
{noformat}

As far as I understand, it actually looks just for 
{wrapper-windows-x86-32.exe}, but only {wrapper-windows-x86-32.exe} is present 
there.

> 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 us...@example.com and us...@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 us...@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: us...@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: 
> 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 ;
> 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 us...@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 us...@example.com) 
> smtp.mailfrom=us...@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: 
> 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 ;
>   Sat, 17 Sep 2016 11:02:42 +0300 (MSK)
> To: UserC 
> From: UserA 
> Subject: =?UTF-8?B?0KHQvNC+0YLRgNC10Lsg0LLRh9C10YDQsCDRhNGD0YLQsdC+0Ls/?=
> Message-ID: <57dcf882.50...@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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (JAMES-1824) Problem with encoding

2016-09-21 Thread Andrei Ivanov (JIRA)

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

Andrei Ivanov commented on JAMES-1824:
--

The build was fine now, but trying to start I get:
{noformat}
Unable to locate a Wrapper executable using any of the following names:
C:\temp\james-server-app-3.0.0-beta5-SNAPSHOT\bin\wrapper-windows-x86-32.exe
C:\temp\james-server-app-3.0.0-beta5-SNAPSHOT\bin\wrapper-windows-x86-64.exe
C:\temp\james-server-app-3.0.0-beta5-SNAPSHOT\bin\wrapper.exe
{noformat}

As far as I understand, it actually looks just for 
{wrapper-windows-x86-32.exe}, but only {wrapper-windows-x86-32.exe} is present 
there.

> 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 us...@example.com and us...@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 us...@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: us...@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: 
> 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 ;
> 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 us...@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 us...@example.com) 
> smtp.mailfrom=us...@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: 
> 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 ;
>   Sat, 17 Sep 2016 11:02:42 +0300 (MSK)
> To: UserC 
> From: UserA 
> Subject: =?UTF-8?B?0KHQvNC+0YLRgNC10Lsg0LLRh9C10YDQsCDRhNGD0YLQsdC+0Ls/?=
> Message-ID: <57dcf882.50...@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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Created] (JAMES-1825) message uid deserves its own type

2016-09-21 Thread Matthieu Baechler (JIRA)
Matthieu Baechler created JAMES-1825:


 Summary: message uid deserves its own type
 Key: JAMES-1825
 URL: https://issues.apache.org/jira/browse/JAMES-1825
 Project: James Server
  Issue Type: Improvement
Reporter: Matthieu Baechler


As usual, the fact that imap rfc describes message uid as a long influenced the 
way James was build.
We use long everywhere and often messed up between message sequence and message 
uid in the code base.
We could very well use a MessageUid type everywhere to make sure what we are 
handling.



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

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