policyd merge requestshttps://gitlab.linux.community/policyd/policyd/-/merge_requests2018-07-11T16:12:49Zhttps://gitlab.linux.community/policyd/policyd/-/merge_requests/33Remove extra dot from Accounting2018-07-11T16:12:49ZCasper GielenRemove extra dot from AccountingRemove extra dot that breaks string, same problem as
https://gitlab.devlabs.linuxassist.net/policyd/policyd/commit/c6d5adf248811b819a0bc443e7d38173836722d6Remove extra dot that breaks string, same problem as
https://gitlab.devlabs.linuxassist.net/policyd/policyd/commit/c6d5adf248811b819a0bc443e7d38173836722d6https://gitlab.linux.community/policyd/policyd/-/merge_requests/32Updated Quotas.pm2017-11-21T11:45:06ZGhost UserUpdated Quotas.pmRemoved an extra dot on line 763 , was causing extra error informationRemoved an extra dot on line 763 , was causing extra error informationhttps://gitlab.linux.community/policyd/policyd/-/merge_requests/31Added additional debugging information and short-circuit optimizations2017-04-03T08:35:01ZNigel Kukardnkukard@lbsd.netAdded additional debugging information and short-circuit optimizationshttps://gitlab.linux.community/policyd/policyd/-/merge_requests/30Increase LastUpdate timestamp precission2017-03-09T06:52:09ZAlexander MarkevichIncrease LastUpdate timestamp precissionHello!
We use policyd on the intensivelly sending e-mail server.
Amount of e-mails - 1M per day.
We use only one rule - 100 e-mails from one recipient per time period.
In the exploitation process we see in log that quota counter ...Hello!
We use policyd on the intensivelly sending e-mail server.
Amount of e-mails - 1M per day.
We use only one rule - 100 e-mails from one recipient per time period.
In the exploitation process we see in log that quota counter maybe grow on by one.
Also I see that 3-5 e-mail sending in one second - maximal precission on timestamp field, that quota counter dont increase. But sometimes he can revert to negative value.
This some buggy behaviour make many trouble for us.
I use this fix and test it in production some months. Inspecting log and monitoring graph show that we dramatically decrease situation when one recipient send e-mails above the quota - 200-300 and more. Because they had negative value on the quota counter or they dont grow.
Now I also testing additional fix with transaction begin and commit.
ex.
Now we have only some bugs in counter like this:
```
03:47:19 quota=6.24/100 (6.2%), last_update=1488847639.78458, pid=15310,
03:47:19 quota=7.24/100 (7.2%), last_update=1488847639.81541, pid=24140,
03:47:19 quota=8.24/100 (8.2%), last_update=1488847639.81785, pid=24165, <-- equally timestamp
03:47:19 quota=8.24/100 (8.2%), last_update=1488847639.81785, pid=24171, <-- from different pid
```https://gitlab.linux.community/policyd/policyd/-/merge_requests/29added mail notification if a quota has been exceeded2022-01-03T09:47:21ZGhost Useradded mail notification if a quota has been exceededDescription:
Implements quota mail notification.
As soon as a quota is exceeded the first time, a notification message would be sent.
This is useful to inform someone, for example the postmaster or a case tracking system.
Requirem...Description:
Implements quota mail notification.
As soon as a quota is exceeded the first time, a notification message would be sent.
This is useful to inform someone, for example the postmaster or a case tracking system.
Requirements:
* Mail::Sendmail
Configuration:
notification_enable = 1
notification_from = postmaster@localhost
notification_to = support@example.com
notification_subject = CBPolicyd quota for %s exceeded
(Add these configurations under the [Quota] module namespace).
Per default notifications are disabled if nothing is configured. https://gitlab.linux.community/policyd/policyd/-/merge_requests/28added possibility to create geoip based rules2022-01-03T09:47:20ZGhost Useradded possibility to create geoip based rulesDescription:
Implements GeoIP based Policies
Requirements:
* Net::DNS
Policy Groups:
The pastebin http://pastebin.com/XcybDqqX contains sql queries which inserts each ISO country code in continent based policy groups
Configur...Description:
Implements GeoIP based Policies
Requirements:
* Net::DNS
Policy Groups:
The pastebin http://pastebin.com/XcybDqqX contains sql queries which inserts each ISO country code in continent based policy groups
Configuration:
GeoIP lookup are done over a country based dnsbl.
The default is zz.countries.nerd.dk, but it is configurable with
"geoip_dnsbl=zz.countries.nerd.dk" under the [server] namespace.
Example:
policy_member: Source: %geoip_asia,$* Destination: any
Matchs every sasl authenticated user from a asia country. https://gitlab.linux.community/policyd/policyd/-/merge_requests/27Copyright date update.2015-06-22T14:27:57ZGhost UserCopyright date update.https://gitlab.linux.community/policyd/policyd/-/merge_requests/26copyright date update.2015-06-22T12:50:19ZGhost Usercopyright date update.https://gitlab.linux.community/policyd/policyd/-/merge_requests/25copyright date update.2015-06-22T12:49:09ZGhost Usercopyright date update.https://gitlab.linux.community/policyd/policyd/-/merge_requests/24copyright date update.2015-06-22T12:47:23ZGhost Usercopyright date update.https://gitlab.linux.community/policyd/policyd/-/merge_requests/23copyright date update.2015-06-22T11:24:39ZGhost Usercopyright date update.https://gitlab.linux.community/policyd/policyd/-/merge_requests/22Data2015-06-22T11:03:00ZGhost UserDatahttps://gitlab.linux.community/policyd/policyd/-/merge_requests/21copyright date update.2015-06-22T10:22:20ZGhost Usercopyright date update.https://gitlab.linux.community/policyd/policyd/-/merge_requests/20copyright date update.2015-06-19T13:36:58ZGhost Usercopyright date update.https://gitlab.linux.community/policyd/policyd/-/merge_requests/19copyright date update.2015-06-19T13:12:02ZGhost Usercopyright date update.https://gitlab.linux.community/policyd/policyd/-/merge_requests/18copyright date update.2015-06-19T12:22:45ZGhost Usercopyright date update.https://gitlab.linux.community/policyd/policyd/-/merge_requests/17copyright date update.2015-06-19T11:42:45ZGhost Usercopyright date update.https://gitlab.linux.community/policyd/policyd/-/merge_requests/16copyright date update.2015-06-19T10:26:27ZGhost Usercopyright date update.https://gitlab.linux.community/policyd/policyd/-/merge_requests/15copyright date update.2015-06-19T10:06:08ZGhost Usercopyright date update.https://gitlab.linux.community/policyd/policyd/-/merge_requests/14copyright date update.2015-06-19T09:47:05ZGhost Usercopyright date update.