MaxQuotaConfigurationReader has a bug

2016-06-25 Thread Guofeng Zhang
Hi, It is the master branch. Line 48 in org.apache.james.container.spring.mailbox.MaxQuotaConfigurationReader.java: Map maxStorage = parseMaxMessageConfiguration(config, "maxMessage"); It should be: Map maxStorage = parseMaxMessageConfiguration(config,

The current usage of Quota size of is incorrect when deleting a message?

2016-09-18 Thread Guofeng Zhang
Hi, When a message is deleted, the current usage of Qutoa size is not changed. We use the following JavaMail code to remove messages: Message m = folder.getMessage(i); m.setFlag(FLAGS.Flag.DELETED, true); ... folder.close(true); What we did it improperly? Thanks for your help! Guofeng

Re: The current usage of Quota size of is incorrect when deleting a message?

2016-09-20 Thread Guofeng Zhang
, When you mark a flag as DELETED it is not removed from mail server. It is done when the EXPUNGE command is used Cheers, Benoit Le 19/09/2016 à 06:10, Guofeng Zhang a écrit : Hi, When a message is deleted, the current usage of Qutoa size is not changed. We use the following JavaMail code

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

2016-09-19 Thread Guofeng Zhang
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

Re: The current usage of Quota size of is incorrect when deleting a message?

2016-09-19 Thread Guofeng Zhang
. The init() method is called twice by Spring. I use James master branch in github and launched using james-server-spring jar. What configuration makes this issue? Thanks Guofeng 在 2016/9/19 12:10, Guofeng Zhang 写道: Hi, When a message is deleted, the current usage of Qutoa size is not changed

Mail not delivered locally

2017-11-22 Thread Guofeng Zhang
Hi, We test sending a mail to two recipients, but only one of them received the mail. I check the jame-server.log. the recipient that not receiving the email has only logged "Successfully spooled.", but has no "Local delivered mail" logged. How could I check why the recipient does

Where James store attachment?

2017-11-16 Thread Guofeng Zhang
Hi, I use James with Spring. I use mYSQL database. Does James store the attachment in the database? Thanks  for your advice. Guofeng - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional

ActiveMQ memory error

2018-03-23 Thread Guofeng Zhang
Hi, How could I fix the following error? ERROR 11:31:17,410 | org.apache.activemq.broker.BrokerService | Memory Usage for the Broker (1024 mb) is more than the maximum available for the JVM: 455 mb - resetting to 70% of maximum available: 318 mb Thanks, Guofeng

Re: ActiveMQ memory error

2018-03-23 Thread Guofeng Zhang
sorry. I use James 3.0.1 On 2018/3/23 17:00, Guofeng Zhang wrote: Hi, How could I fix the following error? ERROR 11:31:17,410 | org.apache.activemq.broker.BrokerService | Memory Usage for the Broker (1024 mb) is more than the maximum available for the JVM: 455 mb - resetting to 70

Error SQL: ORA-00972: Identifier too long - Table JAMES_MAX_DEFAULT_MESSAGE_COUNT

2018-03-23 Thread Guofeng Zhang
Hi, I run James 3.0.1 with Oracle 11g. The Table JAMES_MAX_DEFAULT_MESSAGE_COUNT for org.apache.james.mailbox.jpa.quota.model.MaxDefaultMessageCount is greater than 30 chars, so it cannot be created in an Oracle database. How to work around with it? Thanks, Guofeng