interfaSys sàrl
2010-Oct-04 17:02 UTC
[Dovecot] [2.0.5] quota in maildirsize doesn't work with mdbox
Hello, I'm using mdbox to store messages and maildirsize to store quotas I have the following in my dovecot.conf mail_plugins = quota trash zlib fts fts_squat imap_quota imap_zlib antispam quota = maildir:User quota quota_rule = ?:storage=1G quota_rule2 = Trash:storage=+10%% I noticed that the quotas were wrong, so I sent myself some emails in hope of seeing the ratio change to the correct values, but the amount of used space changed to the total of what was just received, not the total of what was in the mailbox. So I tried to recalculate the quota using doveadm quota recalc, but it didn't help, instead of recalculating the amount of used space, it just wrote 0 0 to maildirsize. Do I have a config problem or is someting broken in Dovecot? Cheers, Olivier
Timo Sirainen
2010-Oct-04 19:22 UTC
[Dovecot] [2.0.5] quota in maildirsize doesn't work with mdbox
On 4.10.2010, at 18.02, interfaSys s?rl wrote:> I'm using mdbox to store messages and maildirsize to store quotasIt's not even supposed to work. I was trying to add some error message about this at startup, but I couldn't figure out a reliable way to do it without some API changes, so I guess I'll leave it until v2.1. Anyway, use dict quota with file backend.