Thanks for your response.
I think it should be a bug in James 3.
There are serveral StoreMailboxManager beans configured in Spring XML
files for maildir or in-memory store, each StoreMailboxManager.init()
call will register an instance of ListeningCurrentQuotaUpdater to a
shared/global registry. This duplicates the instance of
ListeningCurrentQuotaUpdater in the registry, and cause the quota
usage data doubly descreased or increased (sorry, this mail described it
incorrectly).
Solve the above case sovle the issues.
Thanks again.
在 2016/9/20 16:29, Benoit Tellier 写道:
Hi 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 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
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org