> >>Why do you need an "exact" quota ?
> I need a "exact" quota because my goal is to give our client a choice
> of  100, 200, or 300 e-mails per day. If they are over quota for that
> day, then they will have to wait till the next day to send again.
>
> I just want to clarify my testing on my test server:
>
> Period: 300s(5 minutes), quota limit 8(which means block at 10th
> recipients)

What about 2 quotas? one for 5 mins, one for daily?

This will solve your bursting issue and also your max daily limit issue?



>
> ##I did a initail burst here: one email with 8 recipients
> Dec 13 13:26:15  ....quota=*1/8* (12.5%)
> Dec 13 13:26:16  ... quota=2/8 (24.2%)
> Dec 13 13:26:17  ... quota=3/8 (35.2%)
> Dec 13 13:26:19 ... quota=4/8 (47.2%)
> Dec 13 13:26:20  ... quota=5/8 (59.4%)
> Dec 13 13:26:21  ... quota=6/8 (71.3%)
> Dec 13 13:26:22  ... quota=7/8 (86.6%)
> Dec 13 13:26:22  ... quota=8/8 (98.8%)
>
> ##Because I waited 3 minutes in between to take advantage of the quota
> formula(http://lists.policyd.org/pipermail/users/2010-December/003214.html)
> , my quota is reset to 3
>
> Dec 13 13:29:57 ... quota=*3/8* (40.5%)
> Dec 13 13:30:32 ... quota=4/8 (48.3%)
> Dec 13 13:30:33 ... quota=5/8 (60.6%)
> Dec 13 13:30:34  ... quota=6/8 (72.9%)
> Dec 13 13:30:35 ... quota=7/8 (85.2%)
> Dec 13 13:30:36 ... quota=8/8 (97.4%)
> Dec 13 13:30:37 ... quota=9/8 (109.6%)
>
> ##In the last minute, I sent my final e-mail within my allowable period
> Dec 13 13:31:10 .. quota=9/8 (110.0%)
> Dec 13 13:31:11 Dec 13 13:31:11 mailman cbpolicyd[12995]: module=Quotas,
> action=*reject* quota=*10/8* (122.1%)

The float was probably 8.6 + 1 = 9.6, rounded up is 10.

Maybe I should round it down to avoid confusion, or lock at with a max
of 100% in the logs, or ... round it down. 10 is definitely confusing.


>
> So given a quota of 8, I sent out 16.
>
> I bet most people would prefer a hard quota(you reach it you're
> blocked), instead of dynamic window.

Using very low quotas probably won't have there result you expect, but
there is nothing stopping you from creating 5 minute limits, 1hr limits
and daily limits for your users all at the same time to better
shaper/curve/force their usage.


> I just found out about this in mailiing list after weeks of testing
> because the documentation doesn't mention it. The site definately need
> a FAQ page, as this is the only software that works with postfix for
> quota limit. That my 2 cents :) 

Hrmmm, its on the main page ... www.policyd.org => Support => Mailing lists


-N

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to