Hello,
is it possible to show the used disk space even though there is no quota set, instead of just showing "unlimited"?
Best regards
Y. Sembritzki
On 2013-01-09 5:47 AM, Yannik Sembritzki yannik@sembritzki.me wrote:
Hello,
is it possible to show the used disk space even though there is no quota set, instead of just showing "unlimited"?
Easiest would be to just set the quote but not enforce it?
Hello Charles,
I don't know if this is possible. I am using dovecot as imap server.
It would definitely be possible to just set a quota which the user is never going to reach, but that isn't really a clean solution.
Any ideas on a better way to do it?
Best regards
Yannik
From: users-bounces@lists.roundcube.net [mailto:users-bounces@lists.roundcube.net] On Behalf Of Charles Marcus Sent: Mittwoch, 9. Januar 2013 12:03 To: users@lists.roundcube.net Subject: Re: [RCU] Show used disk space of user even though no quota is set
On 2013-01-09 5:47 AM, Yannik Sembritzki mailto:yannik@sembritzki.me yannik@sembritzki.me wrote:
Hello,
is it possible to show the used disk space even though there is no quota set, instead of just showing "unlimited"?
Easiest would be to just set the quote but not enforce it?
This is IMAP protocol behavor. GETQUOTA command returns used disk space and quota if and only if quota is set. Cyrus IMAP implementation follow this.
On 01/09/2013 11:47 AM, Yannik Sembritzki wrote:
is it possible to show the used disk space even though there is no quota set, instead of just showing "unlimited"?
Try $rcmail_config['quota_zero_as_unlimited'] = true;
On 01/09/2013 12:47 PM, A.L.E.C wrote:
On 01/09/2013 11:47 AM, Yannik Sembritzki wrote:
is it possible to show the used disk space even though there is no quota set, instead of just showing "unlimited"?
Try $rcmail_config['quota_zero_as_unlimited'] = true;
Sorry, I didn't read carefully. The response is: No, there's no such option.
On 2013-01-09 6:19 AM, Yannik Sembritzki yannik@sembritzki.me wrote:
Hello Charles,
I don't know if this is possible. I am using dovecot as imap server.
Google is your friend...
http://wiki2.dovecot.org/Quota/Dict
Specifically:
"Dictionary quota
The /dictionary/ quota backend supports both *storage* and *messages* quota limits. The current quota is kept in a dictionary. The available dictionaries are:
The quota root format is:
quota = dict:<quota root name>:<username>[:<option>[...]]:<dictionary URI>
If /username/ is left empty, the logged in username is used (this is typically what you want). Another useful username is '%d' for supporting domain-wide quotas.
The supported options are: