> That is for a very good reason.
>
> You do not want a policy to be instantly activated on a system processing 
> 100+ mails per second. It defaults to disabled so you can set it up, attach 
> groups, members, whatever, configure the modules, then activate it.


Is there some kinda config option to fix this as well then...Seems that if 
I have the default quota set, and also a specific quota set for a user. 
its tracking that user in the "default" quota as well as the specific 
user's quota, causing the email to get blocked if the default limit is 
ever reached regardless of the user's specifc quota. Am i missing 
something here?


Jul 25 13:27:22 cbpolicyd[16334]: module=Quotas, action=none, 
host=208.113.175.44, helo=honey, 
[EMAIL PROTECTED], [EMAIL PROTECTED], 
reason=no_quota

Jul 25 13:30:12 cbpolicyd[15432]: module=Quotas, mode=update, 
host=208.113.175.44, helo=honey, 
[EMAIL PROTECTED], [EMAIL PROTECTED], 
reason=quota_update, policy=1, quota=4, limit=6, 
track=Sender:[EMAIL PROTECTED], counter=MessageCount, 
quota=2/10 (19.5%)

Jul 25 13:30:12 cbpolicyd[15432]: module=Quotas, mode=update, 
host=208.113.175.44, helo=honey, 
[EMAIL PROTECTED], [EMAIL PROTECTED], 
reason=quota_update, policy=1, quota=5, limit=7, 
track=Sender:[EMAIL PROTECTED] counter=MessageCount, 
quota=2/100 (2.0%)



mysql> select * from quotas_tracking;
+----------------+----------------------------------------+------------+---------+
| QuotasLimitsID | TrackKey                               | LastUpdate | 
Counter |
+----------------+----------------------------------------+------------+---------+
|              6 | Sender:[EMAIL PROTECTED] | 1217017811 | 
1.9531 |
|              7 | Sender:[EMAIL PROTECTED] | 1217017811 | 
1.9531 |
+----------------+----------------------------------------+------------+---------+
2 rows in set (0.00 sec)

mysql> select * from quotas;
+----+----------+---------------------------------+--------------------+--------+---------+---------------------------------+---------+----------+
| ID | PolicyID | Name                            | Track              | 
Period | Verdict | Data                            | Comment | Disabled |
+----+----------+---------------------------------+--------------------+--------+---------+---------------------------------+---------+----------+
|  4 |        1 | [EMAIL PROTECTED]                     | Sender:[EMAIL 
PROTECTED] | 
3600 | REJECT  |                                 |         |        0 |
|  5 |        1 | [EMAIL PROTECTED] | Sender:[EMAIL PROTECTED] | 
3600 | REJECT  | [EMAIL PROTECTED]|         |        0 |
+----+----------+---------------------------------+--------------------+--------+---------+---------------------------------+---------+----------+
2 rows in set (0.00 sec)

mysql> select * from quotas_limits;
+----+----------+--------------+--------------+---------+----------+
| ID | QuotasID | Type         | CounterLimit | Comment | Disabled |
+----+----------+--------------+--------------+---------+----------+
|  6 |        4 | MessageCount |           10 |         |        0 |
|  7 |        5 | MessageCount |          100 |         |        0 |



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

Reply via email to