Displaying 1 result from an estimated 1 matches for "quota_is_over".
2014 Jun 26
1
Bug in quota_get_status
Hi,
the configuration option
lmtp_rcpt_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
-----...