james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JAMES-1193) Some wrong in AbstractStorageQuota.java
Date Thu, 17 Feb 2011 02:25:25 GMT

    [ https://issues.apache.org/jira/browse/JAMES-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995641#comment-12995641

Barry commented on JAMES-1193:

In the method getUsed, there are the code as below:
MessageManager mailbox = manager.getMailbox(new MailboxPath(MailboxConstants.USER_NAMESPACE,
                                                session.getUser().getUserName(), "INBOX"),

I think it is not applicable for James3. I think should modified as the below:

            MessageManager mailbox = manager.getMailbox(new MailboxPath(MailboxConstants.USER_NAMESPACE,

but I am not sure whether or not there is better method still? Another question, because on
IMAP, multiple folders can be created, not just "INBOX", how to calculate the used space?

> Some wrong in AbstractStorageQuota.java
> ---------------------------------------
>                 Key: JAMES-1193
>                 URL: https://issues.apache.org/jira/browse/JAMES-1193
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: Mailet Contributions
>    Affects Versions: 3.0-M2
>            Reporter: Barry
>            Assignee: Norman Maurer
>            Priority: Minor
>             Fix For: 3.0-M3
> a customized matcher extends AbstractStorageQuota, then configured the matcher, but it
thew a NPE.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


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

View raw message