You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Benoit Tellier <bt...@linagora.com> on 2015/01/21 10:35:39 UTC
Questions about rights to perform IMAP quota commands defined in
RFC 2087
Hi ,
As said before, I was asked to add support for quotas in James. I am not
a fan of the existing matchers that have serious performance issues.
I also need to support IMAP commands defined in RFC 2087.
Were things gets a bit tricky, it is with the rights : I could not
manage to find a RFC that tells you who is allowed to perform SETQUOTA,
GETQUOTA and GETQUOTAROOT commands on which mailbox.
For GETQUOTAROOT, I made the choice that the user should have the
read write on the mailbox.
For GETQUOTA, I seems natural that the user should have the read
permission on one of the mailbox belonging to the quota root. I bond
quota root to be the user owning the mailbox...
So we come to my first question :
How do I get all the mailboxes for a given user ? I gess I can
achive this threw MailboxManager::search() but I have troubles
understanding the way MailboxQuery works... I f you have any tips ...
We have an application ( OBM ) that uses the SETQUOTA command. We
nowadays uses Cyrus, that allow an admin account to perform SETQUOTA
operations. My question is :
Is there any ADMIN account in James ? Is their any way to
achieve the same thing ? Of course SETQUOTA should be possible threw JMX
( I already implemented that ), but we realy want to do that in a
standardized way using the SETQUOTA command.
Thank you very much,
Best regards,
Benoit Tellier
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: Questions about rights to perform IMAP quota commands defined
in RFC 2087
Posted by Eric Charles <er...@apache.org>.
There were patches contributed (but not committed) to support the QUOTA
extensions. You may find there interesting information.
On 01/21/2015 10:35 AM, Benoit Tellier wrote:
> Hi ,
>
> As said before, I was asked to add support for quotas in James. I am not
> a fan of the existing matchers that have serious performance issues.
>
> I also need to support IMAP commands defined in RFC 2087.
>
> Were things gets a bit tricky, it is with the rights : I could not
> manage to find a RFC that tells you who is allowed to perform SETQUOTA,
> GETQUOTA and GETQUOTAROOT commands on which mailbox.
>
> For GETQUOTAROOT, I made the choice that the user should have the
> read write on the mailbox.
>
> For GETQUOTA, I seems natural that the user should have the read
> permission on one of the mailbox belonging to the quota root. I bond
> quota root to be the user owning the mailbox...
>
> So we come to my first question :
>
> How do I get all the mailboxes for a given user ? I gess I can
> achive this threw MailboxManager::search() but I have troubles
> understanding the way MailboxQuery works... I f you have any tips ...
>
> We have an application ( OBM ) that uses the SETQUOTA command. We
> nowadays uses Cyrus, that allow an admin account to perform SETQUOTA
> operations. My question is :
>
> Is there any ADMIN account in James ? Is their any way to
> achieve the same thing ? Of course SETQUOTA should be possible threw JMX
> ( I already implemented that ), but we realy want to do that in a
> standardized way using the SETQUOTA command.
>
>
>
> Thank you very much,
>
> Best regards,
>
> Benoit Tellier
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org