search for: quota_rule_parse_percentag

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

2012 Sep 18
1
Changing Quota downward for special Mailboxes? (2.1.6)
...rage=-10%% The idea is to not eat up the users storage with spam, so that spam stays in the queue (for some time) while real mail gets delivered. There *is* a line } else if (*value != '-' && relative_rule) { in quota.c, but nothing else handles it, starting with quota_rule_parse_percentage. Yours Jost Krieger -- | Jost.Krieger+sig at ruhr-uni-bochum.de Please help stamp out spam! | | Postmaster, JAPH, resident answer machine at RUB Comp. Center | | Sincere words are not sweet, sweet words are not sincere. | | Lao Tse, Tao Te Kin...
2007 Dec 11
2
quota_wrning not working for me (quota_rewrite patch for dovecot 1.0.8)
...r the warnings was never executed and then I've done some debugging with the code and found two different problems (well, at least I think that there are two problems but I may be wrong) The first problem is with the parsing of percentage limits in the quota_warning options. The function "quota_rule_parse_percentage" was using the same value for the variables "percentage" and "*limit" and then the calculated value is not a percentage of the default quota rule limit but of the percentage itself (i.e. using a 80% limit returns a value of 64 for the internal saved limit, instead of 80% o...