Displaying 3 results from an estimated 3 matches for "quota_backend".
2007 Apr 19
1
fs quota plugin and NFS
Hi,
I'm trying to use the Dovecot v1 fs quota plugin. The server uses NFS
mounted volumes for INBOX and other maildir folders. The /usr/bin/quota
command is working seamlessly but I get errors with the quota plugin,
which gives the following logs:
Apr 19 17:46:15 rouge dovecot: IMAP(xyxyxyx): quotactl(Q_GETQUOTA,
nfs.xxx.yyy.org:/home) failed: No such file or directory
Apr 19 17:46:18 rouge
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
2006 Aug 21
2
Filesystem Quota Enhancement Patch
...--- quota-fs.c.orig 2006-08-10 18:01:42.000000000 -0400
+++ quota-fs.c 2006-08-21 19:33:38.000000000 -0400
@@ -53,6 +53,7 @@
struct quota_root root;
uid_t uid;
+ gid_t gid;
struct fs_quota_mountpoint *mount;
};
@@ -73,6 +74,7 @@
root->root.name = i_strdup(name);
root->root.v = quota_backend_fs.v;
root->uid = geteuid();
+ root->gid = getegid();
return &root->root;
}
@@ -177,7 +179,16 @@
static const char *const *
fs_quota_root_get_resources(struct quota_root *root __attr_unused__)
{
- static const char *resources[] = { QUOTA_NAME_STORAGE, NULL };
+ const char *ma...