Antonio Casado RodrÃguez
2006-Nov-07 11:29 UTC
[Dovecot] move the message between folder problem with quota.
Hi, i have dovecot 1.0rc12, postfix, RedHat Enterprise Linux ES 4.0 Update 4. IMAP client Thunderbird 1.5.0.7 Only namespace: namespace private { separator = / inbox = yes prefix location = maildir:~/Maildir/ } When the quota limit is near... more maildirsize 5242880S 0 0 2688058 1 1993336 1 ... if i move the message betweeen foders, dovecot say: quota exceeded. Is this a error? If i delete the message (trash folder), it not work too. would not have to work as Maildir++ specification says? http://www.inter7.com/courierimap/README.maildirquota.html (Reading from a Maildir++) Thanks a lot.
Timo Sirainen
2006-Nov-07 12:57 UTC
[Dovecot] move the message between folder problem with quota.
On Tue, 2006-11-07 at 12:29 +0100, Antonio Casado Rodr?guez wrote:> ... if i move the message betweeen foders, dovecot say: quota exceeded.There's no "move" operation in IMAP, only "copy and then delete" (and even then it usually stays in the mailbox until it's expunged), so the mail will temporarily use double the space.> Is this a error? > > If i delete the message (trash folder), it not work too.Again deleting to trash means copying + marking as deleted. With newer quota code you can say for example that copying/saving to Trash will allow to go 10MB over quota. This code won't be in Dovecot v1.0 though, but you can get it as a patch: http://dovecot.org/patches/1.0/quota-rewrite.diff -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://dovecot.org/pipermail/dovecot/attachments/20061107/97703cde/attachment.pgp