Displaying 2 results from an estimated 2 matches for "bytes_ov".
Did you mean:
bytes_rv
2015 Apr 09
2
Trash Plugin bugs
...break;
}
2. Trash plugin does not use bytes_ceil/count_ceil to calculate size_needed/count_needed to expunge.
Trash plugin may expunge more messages that nedeed.
+ if (ctx->bytes_ceil!=(uint64_t)-1 && ctx->bytes_ceil < size + ctx->bytes_over) {
+ size_needed = size + ctx->bytes_over - ctx->bytes_ceil;
+ }
+ if (ctx->count_ceil!=(uint64_t)-1 && ctx->count_ceil < 1 + ctx->count_over) {
+ count_needed = 1 + ctx->count_over - ctx->coun...
2014 Jun 26
1
Bug in quota_get_status
...check_quota = yes
didn't work, so I traced down the problem:
quota_get_status (quota_storage.c:89) calls quota_test_alloc
(quota.c:1352) with size = 0 bytes, which leads always to a FALSE result
in quota_is_over (quota.c:1305).
I've fixed the function quota_is_over by considering ctx->bytes_over and
ctx->count_over. See the included patch.
Kind regards,
Franz
--
Franz Knipp, +43 664 3980169
qnipp GmbH, Hauptstra?e 54, 7064 Oslip, ?sterreich
http://qnipp.com http://qnipp.com/qnipp.vcf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot-2.2....