El Miércoles, 4 de Junio de 2008 a las 19:02, JOHN ROMAN escribió:
[root@seshat ~]# dovecot --version 1.0.10
1.0 doesn't support fs quota for nfs mounted filesystems. You can get it patching the sources. I do this this way (quick & dirt translation of my spanish docs) -tested with 1.0.13-:
- Get dovecot's sources
- Get the following patches:
http://hg.dovecot.org/dovecot-1.1/raw-rev/078d9dde99c8 http://hg.dovecot.org/dovecot-1.1/raw-rev/abec53314897 http://hg.dovecot.org/dovecot-1.1/raw-rev/0dda1f746d63
(I save them as rquota{1,2,3}.diff)
In the last one, some changes are needed:
"In particular the final patch for src/plugins/quota/Makefile.am needs to be changed from
if HAVE_RQUOTA
+quota-fs.c: rquota_xdr.c
+
rquota_xdr.c: Makefile
to
if HAVE_RQUOTA
+$(srcdir)/quota-fs.c: rquota_xdr.c
+
rquota_xdr.c: Makefile
"
and then:
$ tar zxvf dovecot-1.0.13.tar.gz $ ln -s dovecot-1.0.13 a $ patch -p0 < rquota1.diff $ patch -p0 < rquota2.diff $ patch -p0 < rquota3.diff $ cd dovecot-1.0.13 $ export SED=/bin/sed $ autoconf $ autoheader $ aclocal $ automake $ ./configure --with-ldap $ make
HTH
Aaaaaaaaaaagur.
Joseba Torre. CIDIR Bizkaia.