[Dovecot] per user quota

Andreas Meyer anmeyer at anup.de
Fri Jun 8 23:34:32 EEST 2012


Hello!

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

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?

  Andreas



More information about the dovecot mailing list