[Dovecot] quotas on shared folders
Hi,
After using dovecot 0.99.14 on a production server with full satisfaction, I'm now giving a try to 1.0beta8 (I know beta9 is out, but it's not yet available within Debian). The new features are great. Maildir++ quotas seem to work fine, and shared folders look promising (despite a few issues).
My problem is that I could not fire out how to set quotas on shared folders. Is it possible?
Cheers,
Nicolas
On Wed, 2006-06-21 at 18:06 +0200, Nicolas Boullis wrote:
My problem is that I could not fire out how to set quotas on shared folders. Is it possible?
Not really. Shared folders still aren't properly supported. I'm not actually sure how quotas even should work in shared folders.
Timo Sirainen wrote:
On Wed, 2006-06-21 at 18:06 +0200, Nicolas Boullis wrote:
My problem is that I could not fire out how to set quotas on shared folders. Is it possible?
Not really. Shared folders still aren't properly supported. I'm not actually sure how quotas even should work in shared folders.
To be honnest, I know very little about imap quotas, and even less about shared folders. But my non-educated guess is that it should not be much different from quotas on private folders: there is a quota to the folder, and it is not allowed to add a message if it would lead to exceed the quota. Hence, this would be independant from the user's quota.
Am I missing something obvious?
Cheers,
Nicolas
On Thu, 2006-06-22 at 14:54 +0200, Nicolas Boullis wrote:
Timo Sirainen wrote:
On Wed, 2006-06-21 at 18:06 +0200, Nicolas Boullis wrote:
My problem is that I could not fire out how to set quotas on shared folders. Is it possible?
Not really. Shared folders still aren't properly supported. I'm not actually sure how quotas even should work in shared folders.
To be honnest, I know very little about imap quotas, and even less about shared folders. But my non-educated guess is that it should not be much different from quotas on private folders: there is a quota to the folder, and it is not allowed to add a message if it would lead to exceed the quota. Hence, this would be independant from the user's quota.
Usually users have quotas, not mailboxes.
I think usually the user who has created the shared mailbox is responsible for its quota, so no matter who writes to the mailbox the owner's quota is always used for it.
If the mailbox is a "public mailbox" without any specific owner, then I don't know really.. Unless some virtual user was created for this purpose.
In any case currently if mailbox exists in shared namespace Dovecot just doesn't count quota for it. And I'm not planning to change this before doing a larger rewrite to support shared folders properly.
Timo Sirainen wrote:
Usually users have quotas, not mailboxes.
Well... Physical (standard/snail/surface/whatever) mail boxes generally have a physical size, which means it is not possible to put more than a certain amount of mails. The size of the box does not care about who has the key and/or who put the mails in the box.
I think it should be the same for electronic mail boxes, although I don't know how/if it can be implemented with the imap quota standard...
I think usually the user who has created the shared mailbox is responsible for its quota, so no matter who writes to the mailbox the owner's quota is always used for it.
If the mailbox is a "public mailbox" without any specific owner, then I don't know really.. Unless some virtual user was created for this purpose.
I was thinking about such public mailboxes...
In any case currently if mailbox exists in shared namespace Dovecot just doesn't count quota for it. And I'm not planning to change this before doing a larger rewrite to support shared folders properly.
OK. Thanks anyway for your explanation, and for making dovecot such a great server! :-)
Cheers,
Nicolas
participants (2)
-
Nicolas Boullis
-
Timo Sirainen