policyd-rate-limit

postfix policy daemon limiting the number of mails a user can send

Install

All systems
curl cmd.cat/policyd-rate-limit.sh
Debian Debian
apt-get install policyd-rate-limit
Ubuntu
apt-get install policyd-rate-limit
image/svg+xml Kali Linux
apt-get install policyd-rate-limit
Windows (WSL2)
sudo apt-get update sudo apt-get install policyd-rate-limit
Raspbian
apt-get install policyd-rate-limit

policyd-rate-limit

postfix policy daemon limiting the number of mails a user can send

policyd-rate-limit is a simple postfix policy daemon written in python3 allowing to limit the number of mails a user can send over time. Users are identified either via their sasl usernames or their ip addresses. Limitation rules are a list of couples (number of mails, number of seconds). If a user has sent more than number of mails in number of seconds, a configurable error is returned to the user.