Displaying 4 results from an estimated 4 matches for "used_quota".
2010 Apr 13
1
dict quota and quota recalculation
...I convert all the mailboxes, and the next step was to populate the
quota table (I use quota/dict).
The quota table is empty. From the console (as root):
#echo "x GETQUOTAROOT Inbox" | USER=test at domain.net
/usr/local/sbin/dovecot --exec-mail imap
- the result is :
| email | used_quota | messages |
+----------------+------------+----------+
| test at domain.net | 0 | 0 |
From mailling logs , relevant parts :
dict quota: user=test at domain.net, uri=proxy::quotadict, noenforcing=0
Namespace: type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes,
subscrip...
2012 May 20
1
GETQUOTAROOT under roundcube
...quota_rule2 = Trash:storage=+10%%
quota_rule3 = spam:storage=+10%%
user_attrs = mailQuota=quota_rule=*:bytes=%$
mail_plugins = quota imap_quota
dict {
quota = mysql:/etc/dovecot/dovecot-dict-used-quota.conf.ext
}
#dovecot-dict-used-quota.conf.ext
map
{
pattern = priv/quota/storage
table = used_quota
username_field = username
value_field = bytes
}
map
{
pattern = priv/quota/messages
table = used_quota
username_field = username
value_field = messages
}
--
Adam Szpakowski
2010 Jul 14
2
domain quota dictionary
...ict:user::proxy::quotadict
quota2 = dict:domain:%d:proxy::quota_domain
}
and the dovecot-quota-domain.conf looks like this :
connect = host=xxx dbname=xxx user=xxxx password=xxxx
map {
pattern = priv/quota/storage
table = domain_quota
username_field = domain
value_field = used_quota
}
map {
pattern = priv/quota/messages
table = domain_quota
username_field = domain
value_field = messages
}
The problem is that the dictionary table gets updated only with the
first mailbox informations (quota and messages for the first mailbox
within domain that is accessed). I sup...
2012 Feb 14
3
domain quota in sql
...ovecot/dovecot-dict-used-quota.conf.ext
quota2 = mysql:/etc/dovecot/dovecot-dict-used-quota-domain.conf.ext
}
plugin {
quota = dict:User quota::proxy::quota
quota2 = dict:Domain quota:%d:proxy::quota2
}
/etc/dovecot/dovecot-dict-used-quota.conf.ext
map {
pattern = priv/quota/storage
table = used_quota
username_field = username
value_field = bytes
}
map {
pattern = priv/quota/messages
table = used_quota
username_field = username
value_field = messages
}
/etc/dovecot/dovecot-dict-used-quota-domain.conf.ext
map {
pattern = priv/quota/storage
table = used_quota_domain
use...