Dovecot 2.3.13 gets the correct filesystem quotas but is not able to report it by IMAP:
/etc/dovecot/conf.d/90-quota.conf:
plugin {
quota = fs:User quota:user
}
Quota Plugin is enabled globally and for IMAP and /etc/systemd/system/dovecot.service.d/override.conf is set to
[Service]
PrivateDevices=off
doveadm show the correct user quota:
doveadm quota get -u [email protected]
Quota name Type Value Limit %
User quota STORAGE 5697792 8388608 67
Then it fails to report it in an IMAP session:
telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot (Debian) ready.
a login [email protected] pass
a OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE QUOTA] Logged in
y getquotaroot inbox
y NO Internal quota calculation error (0.001 + 0.000 secs).
/var/log/mail.log shows in addition the following error:
dovecot: imap([email protected])<25688><EkPHMZP0Hqh/AAAB>: Error: Failed to get quota resource STORAGE: quota-fs: quotactl(Q_GETQUOTA, /dev/md2) failed: No such file or directory
Any ideas on how to solve this?
Best,
Martin