[Dovecot] Re: Getting maildir++ quotas working
Bill Boebel
bill at webmail.us
Wed Apr 5 05:25:39 EEST 2006
On Mon, March 13, 2006 12:08, Lee Smith said:
>
> Has anyone had any luck getting the maildir++ quotas working yet?
>
We were finally able to get maildir quotas working, but had to add these
patches...
--- src/plugins/imap-quota/imap-quota-plugin.c 2006-04-04
17:32:51.173260878 -0400
+++ src/plugins/imap-quota/imap-quota-plugin.c.1 2006-04-04
17:32:42.972572807 -0400
@@ -29,7 +29,7 @@
list = quota_root_get_resources(root);
for (i = 0; *list != NULL; list++, i++) {
ret = quota_get_resource(root, *list, &value, &limit);
- if (ret > 0) {
+ if (ret >= 0) {
if (i > 0)
str_append_c(str, ' ');
str_printfa(str, "%s %llu %llu", *list,
--- configure 2006-04-04 22:21:37.000000000 -0400
+++ configure.1 2006-04-04 22:21:27.000000000 -0400
@@ -31096,7 +31096,7 @@
-capability="IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND UNSELECT
LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS"
+capability="IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND UNSELECT
LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS QUOTA"
cat >>confdefs.h <<_ACEOF
#define CAPABILITY_STRING "$capability"
More information about the dovecot
mailing list