Displaying 1 result from an estimated 1 matches for "maildir_quota_upd".
2009 Jul 12
1
[BUG] Incorrect maildir quota value after maildirsize creation
...e
only one of eight emails) which take 14182502 bytes together (deleted
email taked 969 bytes):
# find cur new -type f | wc -l
7
# 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.