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
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=10GIt 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
Daniel Parthey <daniel.parthey at informatik.tu-chemnitz.de> wrote:> 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.Wow, great! The space was missing and now it works.> You forgot to attach your "doveconf -n" output.ok, next time.> Regards, > DanielAndreas