Hi,

Sorry, the issue should be:

    1) if I added one message, the count increased 2.

    2) If I deleted one message, the count descreased 2.

The size has the same issue.

It is causeed by StoreMailboxManager, which registered ListeningCurrentQuotaUpdater twice in its init() method. 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.

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

Reply via email to