search for: maildirsize_update

Displaying 2 results from an estimated 2 matches for "maildirsize_update".

2006 Jul 14
0
dovecot 1.00 RC2 bugs
...ite So maildirsize is rewritten and contains valid data. BUT file descriptor (root->fd) still contains "-1" 3. User retrieves and deletes some messages, then quits. So maildirsize must be updated. 4. Code calls maildir_quota_transaction_commit, but root->fd equals "-1", so maildirsize_update doesn't calls and maildirsize contains incorrect (obsolete) data My workaround is ======================================================== --- src/plugins/quota/quota-maildir.c.orig Sun Jun 11 21:36:24 2006 +++ src/plugins/quota/quota-maildir.c Thu Jul 13 11:33:58 2006 @@ -246,11...
2009 Jul 12
1
[BUG] Incorrect maildir quota value after maildirsize creation
...find cur new -type f -printf '%s\n' | awk 'END { print a } { a += $0 }' 14182502 I figured, that dovecot after physically file removal, calls function maildir_quota_update(), which calls maildirquota_refresh() first (which in turn recalculate quota with new values), and then calls maildirsize_update(), which additionally and incorrectly decreases quota value. Regards, Adam.