From 0de73cc61a02b6b7b226a375f0566ba7001a3286 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Sun, 21 Sep 2025 13:27:03 +0100 Subject: Place anti-spam modules behind a flag There will be no s2s connections on the transport server, so anti-spam modules won't provide much benefit. --- files/virtual_host.cfg.lua.j2 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'files/virtual_host.cfg.lua.j2') diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2 index c21886b..5452481 100644 --- a/files/virtual_host.cfg.lua.j2 +++ b/files/virtual_host.cfg.lua.j2 @@ -53,8 +53,12 @@ Component "conference.{{ virtual_host }}" "muc" modules_enabled = { "muc"; "muc_mam"; + + -- Spam +{% if not is_transport_server %} "muc_moderation"; "muc_rtbl"; +{% endif %} } log_all_rooms = true @@ -62,4 +66,6 @@ restrict_room_creation = "local" muc_room_default_public = false muc_room_default_public_jids = true +{% if not is_transport_server %} muc_rtbl_jid = "xmppbl.org" +{% endif %} -- cgit v1.2.3