[jira] [Comment Edited] (JAMES-1823) quotaUpdater is invoked more than one time for a message addition or deletion
[ https://issues.apache.org/jira/browse/JAMES-1823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15503987#comment-15503987 ] Paul Lee edited comment on JAMES-1823 at 9/19/16 4:56 PM: -- It would be a great pleasure to me if I could provide my patch for it. I'm not sure, however, if my solution is appropriate and on the right direction from the perspective of the system and its architecture because I don't fully understand it. Anyway, I've attached my patched version of the file 'DefaultDelegatingMailboxListener.java'. My purpose in the patch is not to register the same listener duplicately in an instance of DefaultDelegatingMailboxListener. I've added some checking code and data structure in order to achieve that. If my solution isn't suitable for the whole system, you don't have to use it. was (Author: leepaul21): It would be a great pleasure to me if I could provide my patch for it. I'm not sure, however, if my solution is appropriate and on the right direction from the perspective of the system and its architecture because I don't fully understand it. Anyway, I've attached my patched version of the file 'DefaultDelegatingMailboxListener.java'. My purpose in the patch is not to register the same listener in an instance of DefaultDelegatingMailboxListener. I've added some checking code and data structure in order to achieve that. If my solution isn't suitable for the whole system, you don't have to use it. > quotaUpdater is invoked more than one time for a message addition or deletion > - > > Key: JAMES-1823 > URL: https://issues.apache.org/jira/browse/JAMES-1823 > Project: James Server > Issue Type: Bug > Components: MailStore & MailRepository >Affects Versions: master >Reporter: Paul Lee > Fix For: master > > Attachments: DefaultDelegatingMailboxListener.java > > > The following code snippet in 'init' method in 'StoreMailboxManager.java' is > executed multiple times such that the same quotaUpdater is registered as a > global listener more than once. > if (quotaUpdater != null && quotaUpdater instanceof MailboxListener) { > this.addGlobalListener((MailboxListener) quotaUpdater, null); > } > The above code is invoked multiple times by the below configuration in > 'spring-mailbox.xml'. > > > The quota increase or decrease is currently being executed twice for each > message addition or deletion in our tests because the same quota updater is > registered twice by the above config. For example, if a message of 1MB is > appended to a mailbox, 'getCurrentStorage' method in > 'InMemoryCurrentQuotaManager.java' returns a size which is 2MBs larger than > before. -- 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] [Updated] (JAMES-1823) quotaUpdater is invoked more than one time for a message addition or deletion
[ https://issues.apache.org/jira/browse/JAMES-1823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Lee updated JAMES-1823: Attachment: DefaultDelegatingMailboxListener.java It would be a great pleasure to me if I could provide my patch for it. I'm not sure, however, if my solution is appropriate and on the right direction from the perspective of the system and its architecture because I don't fully understand it. Anyway, I've attached my patched version of the file 'DefaultDelegatingMailboxListener.java'. My purpose in the patch is not to register the same listener in an instance of DefaultDelegatingMailboxListener. I've added some checking code and data structure in order to achieve that. If my solution isn't suitable for the whole system, you don't have to use it. > quotaUpdater is invoked more than one time for a message addition or deletion > - > > Key: JAMES-1823 > URL: https://issues.apache.org/jira/browse/JAMES-1823 > Project: James Server > Issue Type: Bug > Components: MailStore & MailRepository >Affects Versions: master >Reporter: Paul Lee > Fix For: master > > Attachments: DefaultDelegatingMailboxListener.java > > > The following code snippet in 'init' method in 'StoreMailboxManager.java' is > executed multiple times such that the same quotaUpdater is registered as a > global listener more than once. > if (quotaUpdater != null && quotaUpdater instanceof MailboxListener) { > this.addGlobalListener((MailboxListener) quotaUpdater, null); > } > The above code is invoked multiple times by the below configuration in > 'spring-mailbox.xml'. > > > The quota increase or decrease is currently being executed twice for each > message addition or deletion in our tests because the same quota updater is > registered twice by the above config. For example, if a message of 1MB is > appended to a mailbox, 'getCurrentStorage' method in > 'InMemoryCurrentQuotaManager.java' returns a size which is 2MBs larger than > before. -- 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 Acronym
Hi everybody, As I am currently working on the project of a marketing website for James, I am wondering if the name "*JAMES*" is an acronym for *JA*va *M*ail *E*nterprise *S*erver ? Thanks in advance for your help. Regards, laura
Re: AW: Marketing catch phrase for a promoting James website [unsigned]
Hello everybody, I would like to thank you for your answers. Here are your proposals and the ones I have added : *A*- "The Apache James Project is providing a modern, stable, secure and extendable Mail Server product running on the JVM. It promotes open standards and is built using standard components, mostly by Apache, and it is completely open source and free. You could just use it to integrate it into your own software or solution, or just run it as your mail server on Linux or Windows. Finally, it could be used as toolkit to configure your own unique Mail Service with minimal effort." -*Bernd Waibel* *B*- "Apache James is a highly scalable, customizable, Open Source email server. It is propelled by Java and promotes open standards." -*Michaël Bailly * *C*-**"The**Apache**James Project is a modern Mail Server product running on the JVM that promotes open standards. It's built from components so good that other projects integrate them too. Finally, it aims at being a toolkit to build your own unique Mail Service with minimal effort." -*Laura Royet* *D*- "The**Apache**James Project is a modern Mail Server product running on the JVM that promotes open standards." - *Laura Royet *(here we keep only the first sentence of the above proposal). *E*- "Emails at the heart of your business logic. James offers a rich set of modern and efficient components providing at the end a stable, secure and extendable Mail Server running on the JVM." -*Laura Royet* // //*F*-"An innovative toolkit to build your own Open Source Mail Server with minimal effort. James offers a rich set of modern and efficient components providing at the end a stable, secure and extendable Mail Server running on the JVM." -*Laura Royet* In*E & F* have two sentences : a short catchy marketing one and a longer descriptive one. Thanks in advance for your comments. Regards, Laura Le 13/09/2016 à 15:56, Bernd Waibel a écrit : Hello together, I may be not the specialist to find the marketing words, but just a few thoughts: My starting question is: What makes James different to other solutions? As I think, there are two "intended use" scenarios, or "aims": - Running James as a standalone Mail Server - Using James to integrate your own solution What I mean: One strength of James is to be "just another mail server". But also, it is a fine implementation framework, if you need mail handling, but do want to do more than that. Another part is the "feature" section, which is (in my opinion): - Open Source and free: as free beer, right! - Java based: If someone integrates his own java software, this is the right place to start. - It is Apache based: Most developers like apache software and their frameworks. - Running on Linux and Windows: many software is not able to do run on both platforms. - Stable: Yes, we running it 24x7. As this is an important questions for mail servers at all. - Secure, using state-of-the-art encryption standards: Meaning version 3. Security is important for mail administrators, so should be mentioned. As stated by Laura Royet: « The Apache James Project aims at providing a a modern Mail Server product running on the JVM that promotes open standards. It's built from components so good that other projects integrate them too. Finally, it aims at being a toolkit to build your own unique Mail Service with minimal effort. » What I would like to change "in wording": The word "aims" sounds to me like "want to, but just cannot reach". So maybe better use: "is" E.g: The Apache James Project is providing a modern, stable, secure and extendable Mail Server product running on the JVM. It promotes open standards and is built using standard components, mostly by Apache, and it is completely open source and free. You could just use it to integrate it into your own software or solution, or just run it as your mail server on Linux or Windows. Finally, it could be used as toolkit to configure your own unique Mail Service with minimal effort. Many thanks to Laura Royet! Greetings Bernd -Ursprüngliche Nachricht- Von: Matthieu Baechler [mailto:mbaech...@linagora.com] Gesendet: Dienstag, 13. September 2016 11:46 An: server-dev@james.apache.org Betreff: Re: Marketing catch phrase for a promoting James website Thank you Michael for your answer. My comments bellow. On 09/13/2016 10:21 AM, Michael Bailly wrote: Let me try... disclaimer: I have never been a marketing kingpin "Apache James is a highly scalable, customizable, Open Source email server. It is propelled by Java and promotes open standards." Ok, James in its current state is not highly scalable, I think we should not trigger to much expectation about that. Customizable sounds too restrictive : I would really like to emphasis the fact James can be instantiated as a backup imap store, as a smart SMTP relay, a full mail server and everything you can think about. Maybe customizable is enough, but I'm not sure. WDYT ? Open
[jira] [Commented] (JAMES-1824) Problem with encoding
[ https://issues.apache.org/jira/browse/JAMES-1824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502746#comment-15502746 ] Alex commented on JAMES-1824: - No, I did {code} git clone https://github.com/apache/james-project.git mvn install -DskipTests {code} but can't understand where to take binary release. > 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
[ https://issues.apache.org/jira/browse/JAMES-1824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502642#comment-15502642 ] Matthieu Baechler commented on JAMES-1824: -- JAMES-1640 is another problem. We'll try to release a working beta6 soon to close these issues. You problem here could very well be the use of geronimo javamail. We switched to oracle javamail some times ago on master. Would you mind trying with master ? Do you know how to build james from sources ? > 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
[ https://issues.apache.org/jira/browse/JAMES-1824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 java18932 mailer memREG9,1 463809 46007059 .../james-server-app-3.0.0-beta5-SNAPSHOT/lib/geronimo-javamail_1.4_mail-1.8.3.jar java18932 mailer 16r REG9,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 java18932 mailer memREG9,1 463809 46007059 .../james-server-app-3.0.0-beta5-SNAPSHOT/lib/geronimo-javamail_1.4_mail-1.8.3.jar java18932 mailer 16r REG9,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 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
[ https://issues.apache.org/jira/browse/JAMES-1824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502621#comment-15502621 ] Alex commented on JAMES-1824: - Hi Matthieu, Thank you very much for such quick answer!!! This is what you asked. {code} #lsof -n -p 18932 | grep javamail java18932 mailer memREG9,1 463809 46007059 .../james-server-app-3.0.0-beta5-SNAPSHOT/lib/geronimo-javamail_1.4_mail-1.8.3.jar java18932 mailer 16r REG9,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 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
[ https://issues.apache.org/jira/browse/JAMES-1824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502572#comment-15502572 ] Matthieu Baechler commented on JAMES-1824: -- Hi Alex, Thank you for your report. The mail goes through RemoteDelivery mailet when sending to an external smtp server, it's the reason why you don't have the same problem when delivering the email locally. Could you tell me what javamail implementation you have on the classpath ? (something like `lsof -n -p | grep javamail` shoud do) Would you mind testing with James master ? > 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-1823) quotaUpdater is invoked more than one time for a message addition or deletion
[ https://issues.apache.org/jira/browse/JAMES-1823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502548#comment-15502548 ] Matthieu Baechler commented on JAMES-1823: -- Thank you very much for your report, it's very clear what the problem is. We'll try to handle that for 3.0. Or maybe you want to provide a fix for that ? > quotaUpdater is invoked more than one time for a message addition or deletion > - > > Key: JAMES-1823 > URL: https://issues.apache.org/jira/browse/JAMES-1823 > Project: James Server > Issue Type: Bug > Components: MailStore & MailRepository >Affects Versions: master >Reporter: Paul Lee > Fix For: master > > > The following code snippet in 'init' method in 'StoreMailboxManager.java' is > executed multiple times such that the same quotaUpdater is registered as a > global listener more than once. > if (quotaUpdater != null && quotaUpdater instanceof MailboxListener) { > this.addGlobalListener((MailboxListener) quotaUpdater, null); > } > The above code is invoked multiple times by the below configuration in > 'spring-mailbox.xml'. > > > The quota increase or decrease is currently being executed twice for each > message addition or deletion in our tests because the same quota updater is > registered twice by the above config. For example, if a message of 1MB is > appended to a mailbox, 'getCurrentStorage' method in > 'InMemoryCurrentQuotaManager.java' returns a size which is 2MBs larger than > before. -- 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