Hi

Im running Debian 8 with Postfix and using PolicyD v2.0.14.

Ive got it mostly working fine, the MessageCount quota is being hit and blocking me after xx mails are sent from my IP.
But the MessageCumulativeSize does not appear to be tracking at all.
The Counter in in the quota_tracking table remains unchanged no matter what.

We wish to use that to help set the limits for clients.

MessageCount and MessageCumulativeSize are both set to the same QuotasID in the quotas_limits table.

The logs of a test email with a 4.4MB file (limit is set to 200MB):
Mail Log:
Sep 18 09:44:18 smtp1 cbpolicyd[18590]: module=Quotas, mode=update, host=***.***.**.**, helo=[***.***.**.**], from=****@****, to=****@****, reason=quota_update, policy=5, quota=2, limit=2, track=SenderIP:***.***.**.**/32, counter=MessageCumulativeSize, quota=0.00/200000000 (0.0%) Sep 18 09:44:18 smtp1 cbpolicyd[18590]: module=Quotas, mode=update, host=***.***.**.**, helo=[***.***.**.**], from=****@****, to=****@****, reason=quota_update, policy=5, quota=2, limit=3, track=SenderIP:***.***.**.**/32, counter=MessageCount, quota=1.99/200 (1.0%)

EVen with log_level=4 set in the .conf file, all that the log shows is:
[2015/09/18-09:44:18 - 18590] [CBPOLICYD] INFO: Got request #3 (pipelined)

Can someone please advise?


--
<http://http://www.amobia.com/>           James Clayton
Core Technician
Tel: 0861 AMOBIA (266242) | Fax: 0861 AMOFAX (266329)
www.amobia.com <http://http://www.amobia.com/>

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

Reply via email to