[Dovecot] per user quota

Daniel Parthey daniel.parthey at informatik.tu-chemnitz.de
Sat Jun 9 20:09:30 EEST 2012


Hello Andreas,

Andreas Meyer wrote:
> I activated quota
> 
> plugin {
>     quota = maildir:User quota
>     quota_rule = *:storage=1GB
>     # 10% of 1GB = 100MB
>     quota_rule2 = Trash:storage=+10%%
> }
> 
> But when I want to do per user quota in the passwd-file
> ...vhosts/anup.de/anmeyer::userdb_mail=maildir:~/userdb_quota_rule=*:bytes=10G

It looks like you are at least missing a space between userdb_mail=maildir:~/
and userdb_quota_rule.

> I get this in the logfile and can't login:
> 
> Jun 08 22:25:52 imap(anmeyer at anup.de): Error: user anmeyer at anup.de: Initialization failed: Initializing mail storage from mail_location setting failed: Unknown setting: bytes
> Jun 08 22:25:52 imap(anmeyer at anup.de): Error: Invalid user settings. Refer to server log for more information.
>
> Same with 'storage' in the passwd-file. What's wrong?

You forgot to attach your "doveconf -n" output.

Regards,
Daniel


More information about the dovecot mailing list