[Dovecot] Enabling quota
Hello everybody. Sorry if this has been answered before, I just could not find any info. Just point me if that is so.
Can somebody please explain why there is no option --with-quota (ot may be --with-fs-quota) for the configure command?
As it stands now, at least for the fs back-end the only thing that tells us that Dovecot does not do quotas is after the build/configuration we get
dovecot: imap(xxdxx): Error: quotactl(Q_GETQUOTA, csfs9.cs.ucy.ac.cy:/mail) failed: No such file or directory
which essentially means that during the build no quota development libraries were found and therefore fs quota will not function. This is rather confusing and the above error does not help much. Note also that "dovecot --build-options" is also silent on this. I suppose other back-ends do not have this requirement since there is no need for such devel libraries.
thankx Andreas
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 27 Nov 2013, Andreas Kasenides wrote:
Sorry if this has been answered before, I just could not find any info. Just point me if that is so.
Can somebody please explain why there is no option --with-quota (ot may be --with-fs-quota) for the configure command?
As it stands now, at least for the fs back-end the only thing that tells us that Dovecot does not do quotas is after the build/configuration we get
dovecot: imap(xxdxx): Error: quotactl(Q_GETQUOTA, csfs9.cs.ucy.ac.cy:/mail) failed: No such file or directory
which essentially means that during the build no quota development libraries were found and therefore fs quota will not function. This is rather confusing and the above error does not help much. Note also that "dovecot --build-options" is also silent on this. I suppose other back-ends do not have this requirement since there is no need for such devel libraries.
in which development library your system needs? I thought that error message means, that the file "csfs9.cs.ucy.ac.cy:/mail" does not exist (or that there is no quota there).
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUpYlCF3r2wJMiz2NAQJiqggAiicrjYdYte8x9L6AS8YWMWagyR8Dv7SF 04EK1BQ3xGZMesFY+nMliWLjNXFbBKRzkMZhBiQ5m1cBp2MiYx25iibanJtg8vIQ oAQ1mN0Mb0aLhvY6PlHxVDJZUMznfBrLpt+Ei1wuE3FuQ7PHyMSsolky30DJc/O+ Y4KvHYVwHfLrXZe/+RbdvESZApyFuwRAIhmtACl1Wjj7/LRVeQZmG5lZ6L1kBdsL RAXsAtt1DegMMyn0YZfwdpcRPSvoSO63HgBzYwuNmQgDno0otOTAsIBWIjFpCnEh 4H4q/SXzizLse/Cp1Ag8oGP8+bmfRPZBjLOPC7ztCxoBbZ/ePNJ0Og== =EZfY -----END PGP SIGNATURE-----
On 27-11-2013 18:59, Steffen Kaiser wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 27 Nov 2013, Andreas Kasenides wrote:
Sorry if this has been answered before, I just could not find any info. Just point me if that is so.
Can somebody please explain why there is no option --with-quota (ot may be --with-fs-quota) for the configure command?
As it stands now, at least for the fs back-end the only thing that tells us that Dovecot does not do quotas is after the build/configuration we get
dovecot: imap(xxdxx): Error: quotactl(Q_GETQUOTA, csfsxxx.cs.ucy.ac.cy:/mail) failed: No such file or directory
which essentially means that during the build no quota development libraries were found and therefore fs quota will not function. This is rather confusing and the above error does not help much. Note also that "dovecot --build-options" is also silent on this. I suppose other back-ends do not have this requirement since there is no need for such devel libraries.
in which development library your system needs? I thought that error message means, that the file "csfsxxx.cs.ucy.ac.cy:/mail" does not exist (or that there is no quota there).
- -- Steffen Kaiser
Exactly here is the confusion. I have verified that this error is not related to the actual mount but the way Dovecot has been built. Actually the existence of the development libraries. In my case on a CentOS system it needs to find the quota-devel libraries which it finds and silently builds quota support for the fs back-end. Note that nothing afterwards tells you that that has happened!! I think!!!
Andreas
On 27-11-2013 18:14, Andreas Kasenides wrote:
On 27-11-2013 18:59, Steffen Kaiser wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 27 Nov 2013, Andreas Kasenides wrote:
Sorry if this has been answered before, I just could not find any info. Just point me if that is so.
Can somebody please explain why there is no option --with-quota (ot may be --with-fs-quota) for the configure command?
As it stands now, at least for the fs back-end the only thing that tells us that Dovecot does not do quotas is after the build/configuration we get
dovecot: imap(xxdxx): Error: quotactl(Q_GETQUOTA, csfsxxx.cs.ucy.ac.cy:/mail) failed: No such file or directory
which essentially means that during the build no quota development libraries were found and therefore fs quota will not function. This is rather confusing and the above error does not help much. Note also that "dovecot --build-options" is also silent on this. I suppose other back-ends do not have this requirement since there is no need for such devel libraries.
in which development library your system needs? I thought that error message means, that the file "csfsxxx.cs.ucy.ac.cy:/mail" does not exist (or that there is no quota there).
- -- Steffen Kaiser
Exactly here is the confusion. I have verified that this error is not related to the actual mount but the way Dovecot has been built. Actually the existence of the development libraries. In my case on a CentOS system it needs to find the quota-devel libraries which it finds and silently builds quota support for the fs back-end. Note that nothing afterwards tells you that that has happened!! I think!!!
Andreas
yesterday i did a built of 2.2.9, and quota seems to work...
what is the output of doveconf -n ?
participants (3)
-
Andreas Kasenides
-
Luuk
-
Steffen Kaiser