[Dovecot] "multiple quota roots" complains

Kostik koc at fax.ru
Thu Oct 15 13:37:51 EEST 2009


Hello.

I fix this issue by manually set "mount" option to user home:
---
quota2 = fs:fs quota:group:mount=%h
---

>From here:
http://wiki.dovecot.org/Quota/FS
---
mount=<path>: Report quota from given path. Default is to use the path for
the mail root directory.
---
But by default it is NULL.


=kostik

Kostik wrote:
> Hi to everyone.
> 
> Timo,
> 
> With dovecot-1.2.6 "multiple quota roots" complains:
> "stat((null)) failed: Bad address" to log file.
> 
> My setup is:
> ---
> plugin {
>   quota = dirsize:dirsize quota
>   quota2 = fs:fs quota:group
> }
> ---
> 
> Complains from (plugins/quota/quota-fs.c):
> ---
> if (stat(root->storage_mount_path, &rst) < 0) {
>        if (_root->quota->set->debug) {
>              i_error("stat(%s) failed: %m",
>                      root->storage_mount_path);
>        }
>        return FALSE;
> }
> ---
> root->storage_mount_path is NULL here.


More information about the dovecot mailing list