Displaying 2 results from an estimated 2 matches for "value_r_c".
Did you mean:
value_r_t
2006 Aug 21
2
Filesystem Quota Enhancement Patch
...ot;MAIL");
+ static const char *resources[] = {
+ QUOTA_NAME_STORAGE,
+ NULL,
+ NULL
+ };
+ if (strstr(mail, "maildir") != NULL) {
+ resources[1] = QUOTA_NAME_MESSAGES;
+ }
return resources;
}
@@ -192,82 +203,108 @@
struct quotctl ctl;
#endif
+ int value_r_t, limit_r_t, value_r_c=0, limit_r_c=0;
+ char args[] = {USRQUOTA, GRPQUOTA};
+ int what[] = {root->uid, root->gid};
+ short i;
+ int quota_error=0;
+
*value_r = 0;
*limit_r = 0;
- if (strcasecmp(name, QUOTA_NAME_STORAGE) != 0 || root->mount == NULL)
+ if (root->mount == NULL)
return 0;
+ for (i = 0...
2006 Jun 20
1
Group-based filesystem quota
Hello. After using Dovecot for over a year, I have just started
experimenting with the filesystem quotas, and I have a suggestion for
improvement. On my mail server, I use group-based quotas, and would
like to have Dovecot be able to report these quotas.
It should be simple to implement, requiring only changes to the
quota-fs.c file of the quota plugin. Simply changing USRQUOTA to