diff options
-rw-r--r-- | files/prosody.cfg.lua.j2 | 8 | ||||
-rw-r--r-- | files/virtual_host.cfg.lua.j2 | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/files/prosody.cfg.lua.j2 b/files/prosody.cfg.lua.j2 index adb5e2a..320285a 100644 --- a/files/prosody.cfg.lua.j2 +++ b/files/prosody.cfg.lua.j2 @@ -8,6 +8,7 @@ modules_enabled = { "account_activity"; "admin_adhoc"; "admin_shell"; + "anti_spam"; "blocklist"; "bookmarks"; "bosh"; @@ -27,6 +28,7 @@ modules_enabled = { "ping"; "private"; "proxy65"; + "report_forward"; "roster"; "s2s_auth_dane_in"; "s2s_bidi"; @@ -39,6 +41,7 @@ modules_enabled = { "server_contact_info"; "server_info"; "smacks"; + "spam_reporting"; "stanza_debug"; "time"; "tls"; @@ -68,6 +71,11 @@ c2s_direct_tls_ports = { 5223 } s2s_direct_tls_ports = { 5270 } use_dane = true +anti_spam_services = { "xmppbl.org" } +report_forward_to = { + "submit@reports.xmppbl.org"; +} + turn_external_host = "{{ turn_server }}" turn_external_secret = "{{ turn_secret }}" diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2 index dfec9c2..4f5b7ca 100644 --- a/files/virtual_host.cfg.lua.j2 +++ b/files/virtual_host.cfg.lua.j2 @@ -41,9 +41,12 @@ Component "conference.{{ virtual_host }}" "muc" modules_enabled = { "muc"; "muc_mam"; + "muc_rtbl"; } log_all_rooms = true restrict_room_creation = "local" muc_room_default_public = false muc_room_default_public_jids = true + +muc_rtbl_jid = "xmppbl.org" |