Displaying 1 result from an estimated 1 matches for "quota_root_rule_find".
2013 Jan 17
0
possible: two private namespaces with different quota?
...hive, counts for
both namespaces, the default one and the archive one. Furthermore the dict
records the quota of the archive namespace as user "ns=archive". Because
the quota_rules does not accept "*", I see no way to have two or more
private quota roots.
Could one improve
quota_root_rule_find(struct quota_root_settings *root_set, const char *name)
{
struct quota_rule *rule;
array_foreach_modifiable(&root_set->rules, rule) {
char *p = strchr(rule->mailbox_name, '\0');
if(p && p > rule->mailbox_name + 1 && p[-1] == '*' ) {
/*...