Diff

mod_firewall/scripts/spam-blocking.pfw @ 4148:34a2e8796cff

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.
author Matthew Wild <mwild1@gmail.com>
date Mon, 21 Sep 2020 15:45:53 +0100
parent 4128:879955a32a37
child 4149:bb60db2b2cd1
line wrap: on
line diff
--- a/mod_firewall/scripts/spam-blocking.pfw	Sun Sep 20 17:06:00 2020 +0200
+++ b/mod_firewall/scripts/spam-blocking.pfw	Mon Sep 21 15:45:53 2020 +0100
@@ -22,7 +22,7 @@
 #   PASS stanzas that are not spam and jump to ::user/spam_reject
 #   for stanzas that are considered spam.
 #
-# ::user/spam_check_message_content
+# ::user/spam_check_message_content_custom
 #   Apply additional rules to messages that may be spam, based on
 #   message content rules. These may contain more intensive rules,
 #   so are executed after all other checks. Rules should jump to
@@ -102,9 +102,11 @@
 NOT TYPE: chat
 JUMP CHAIN=user/spam_reject
 
+JUMP CHAIN=user/spam_check_message_content
+
 # This chain can be used by other scripts
 # and modules that analyze message content
-JUMP CHAIN=user/spam_check_message_content
+JUMP CHAIN=user/spam_check_message_content_custom
 
 ##################################################################