[Dovecot] 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 dovecot: IMAP(yxyxyxy): quotactl(Q_GETQUOTA, nfs.xxx.yyy.org:/home) failed: No such file or directory
Is there a way to get it work ? Thanks,
Nico Il faut s'entraider, c'est la loi de nature. -+- Jean de La Fontaine (1621-1695), L'Âne et le Chien (Fables VIII.17) -+-
On Thu, 2007-04-19 at 17:54 +0200, Nicolas STRANSKY wrote:
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 dovecot: IMAP(yxyxyxy): quotactl(Q_GETQUOTA, nfs.xxx.yyy.org:/home) failed: No such file or directory
Is there a way to get it work ?
NFS uses RPC quota commands to get the quota. Dovecot doesn't currently support this, but there is a company who implemented a patch for this. I can't seem to find it now though. I'll add it to http://dovecot.org/patches/ once I get it again.
On Fri, 2007-05-11 at 18:01 +0300, Timo Sirainen wrote:
NFS uses RPC quota commands to get the quota. Dovecot doesn't currently support this, but there is a company who implemented a patch for this. I can't seem to find it now though. I'll add it to http://dovecot.org/patches/ once I get it again.
Found it. http://dovecot.org/patches/quota-rquotad.c (copyright by xs4all)
You'll also need to add it to quota_backends[] in quota.c and update Makefile.am so it gets included in the quota plugin.
I'll update the FS quota backend to automatically use RPC for NFS mounts.
Le 11.05.2007 21:04, Timo Sirainen a écrit :
Found it. http://dovecot.org/patches/quota-rquotad.c (copyright by xs4all)
You'll also need to add it to quota_backends[] in quota.c and update Makefile.am so it gets included in the quota plugin.
I'll update the FS quota backend to automatically use RPC for NFS mounts.
Great, thanks Timo, because I can't get it to compile yet...
-- Nico La vérité est si obscurcie en ce temps, et le mensonge si établi, qu'à moins d'aimer la vérité, on ne saurait la reconnaître. -+- Blaise Pascal (1623-1662), Pensées XIV.864 -+-
participants (2)
-
Nicolas STRANSKY
-
Timo Sirainen