Hi Robert Thanks a lot for the patch. It seems to correct some problems. I quickly wrote a small script which tries to send 1000 mails with the same from/to addresses. It nicely counts up to 500 (the limit), then holds but at the same time resets the counter (but still holds the mails --> default action):
log (truncated until mail nr 491, no log lines deleted in between!, the counter really goes like this: 499-->500-->5-->5-->5-->5-->8-->8-->8......) **** [2010/11/23-11:20:26 - 25755] [CORE] INFO: module=Quotas, mode=update, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_update, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=491/500 (98.2%) [2010/11/23-11:20:26 - 25920] [CORE] INFO: module=Quotas, mode=update, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_update, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=492/500 (98.4%) [2010/11/23-11:20:26 - 25914] [CORE] INFO: module=Quotas, mode=update, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_update, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=493/500 (98.6%) [2010/11/23-11:20:26 - 25969] [CORE] INFO: module=Quotas, mode=update, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_update, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=494/500 (98.8%) [2010/11/23-11:20:26 - 25977] [CORE] INFO: module=Quotas, mode=update, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_update, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=495/500 (99.0%) [2010/11/23-11:20:26 - 25918] [CORE] INFO: module=Quotas, mode=update, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_update, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=496/500 (99.2%) [2010/11/23-11:20:26 - 25749] [CORE] INFO: module=Quotas, mode=update, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_update, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=497/500 (99.4%) [2010/11/23-11:20:27 - 25968] [CORE] INFO: module=Quotas, mode=update, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_update, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=498/500 (99.6%) [2010/11/23-11:20:27 - 25748] [CORE] INFO: module=Quotas, mode=update, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_update, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=499/500 (99.8%) [2010/11/23-11:20:27 - 25758] [CORE] INFO: module=Quotas, mode=update, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_update, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=500/500 (100.0%) [2010/11/23-11:20:27 - 25913] [CORE] INFO: module=Quotas, mode=update, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_update, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=500/500 (100.0%) [2010/11/23-11:20:27 - 25752] [CORE] INFO: module=Quotas, mode=update, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_update, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=500/500 (100.0%) [2010/11/23-11:20:27 - 25920] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=5/500 (1.0%) [2010/11/23-11:20:48 - 25977] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25750] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25922] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25749] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25913] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25748] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25753] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25750] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25920] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25922] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25918] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25921] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25922] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25750] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25753] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25748] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25921] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25752] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25918] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25749] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25781] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25920] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25922] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:48 - 25753] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:49 - 25921] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:49 - 25748] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:49 - 25750] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:49 - 25912] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:49 - 25753] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:49 - 25752] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) [2010/11/23-11:20:49 - 25922] [CORE] INFO: module=Quotas, action=hold, host=130.92.254.118, helo=galadriel.unibe.ch, [email protected], [email protected], reason=quota_match, policy=2, quota=3, limit=4, track=Sender:[email protected], counter=MessageCount, quota=8/500 (1.6%) ******* Thanks Simon -- Universität Bern Abt. Informatikdienste Gruppe Netzwerk Simon Staehelin Gesellschaftsstrasse 6 CH-3012 Bern Raum 106 Tel. +41 (0)31 631 31 80 Fax +41 (0)31 631 38 65 email: [email protected] [email protected] [email protected] Am 23.11.10 09:51 schrieb "Robert Anderson" unter <[email protected]>: >> I got some further. It seems that (maybe) just the logline is wrong. I >> sent two mail form my account, after the first mail, the log said >> quota=5/500 (why not 1/500). The DB Entry is correct and shows 1: > >Please try the attached patch for v2.0.11RC1 and let us know if it fixes >your the problem you are having. > >Robert _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
