Hi, with the last update to version 2.2.33.2 I had problems with quota management; the plugin no longer reads the configuration correctly or something undocumented has changed! Until the version 2.2.30.2 the mount parameter work well, now no longer; so with... plugin { quota = fs:HOME:mount=/home quota2 = fs:INBOX:mount=/var/spool } ...the server no longer works and I read this in the log: Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so Debug: Quota root: name=HOME=fs args=mount=/home Debug: Quota grace: root=HOME bytes=0 (10%) Debug: Quota root: name=INBOX backend=fs args=mount=/var/spool Debug: Quota grace: root=INBOX bytes=0 (10%) Error: User initialization failed: Failed to initialize quota: Quota root HOME: fs quota init failed: Unknown parameter for backend fs: =/home I saw that the method for acquiring the parameters was revised in the src/plugins/quota/quota-fs.c but I still could not understand why it fails! Some advice? Do I have a formatting problem or am I missing some news about it? Thanks, Arturo. -- 73s
Arturo Bianchi
2018-Jan-07 09:46 UTC
quota issue - fs backend troubles with mount (found commit)
On Sat, 6 Jan 2018, Arturo Bianchi wrote:> Until the version 2.2.30.2 the mount parameter work well, now no longer; so > with... > > plugin { > quota = fs:HOME:mount=/home > quota2 = fs:INBOX:mount=/var/spool > } >Well, I think I found the fix inside the git tree... https://github.com/dovecot/core/commit/d32f4c43ddfe51fd757c15fe1821287ab5b3caf5#diff-e72982e5f369f46babc0f4b79df68878 ...in the week I check if I can apply the change to the 2.2.33.2 that was actually released before this commit. Arturo. -- 73s