mod_firewall/scripts/spam-blocklists.pfw
author Matthew Wild <mwild1@gmail.com>
Mon, 21 Sep 2020 15:45:53 +0100
changeset 4152 34a2e8796cff
parent 4150 bebc5740fc16
child 5536 d84757f9adcb
permissions -rw-r--r--
mod_firewall: Update chain name for consistency We keep the old JUMP CHAIN for compat, and in case we add internal content checking rules in the future.

# This script depends on spam-blocking.pfw also being loaded
# Any traffic that is not explicitly blocked or allowed by other
# rules will be checked against the JabberSPAM server blocklist

%LIST blocklist: https://cdn.jsdelivr.net/gh/jabberspam/blacklist/blacklist.txt

::user/spam_handle_unknown_custom

CHECK LIST: blocklist contains $<@from|host>
BOUNCE=policy-violation (Your server is blocked due to spam)