search for: maildirquota_refresh

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

2006 Jul 14
0
dovecot 1.00 RC2 bugs
...{ ======================================================== This patch skips special directory entries. 2. Under some condition maildirsize contains invalid data Consider a such situation 1. User begins pop3 session 2. dovecot calls this sequence of procedures maildir_quota_transaction_begin -> maildirquota_refresh -> maildirsize_read While reading maildirsize's data, may be situation when mailbox size must be recalculated (maildirsize greater 5120, quotas was changed...). In this case dovecot closes maildirsize's file descriptor (root->fd) and assigns it "-1". After that code calls ma...
2009 Jul 12
1
[BUG] Incorrect maildir quota value after maildirsize creation
...ke 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.