Browse Source

added abuse info

dominik 2 years ago
parent
commit
e744f68fce
2 changed files with 11 additions and 4 deletions
  1. 2 2
      TASKS.md
  2. 9 2
      data/conf.d/60-modules.yml

+ 2 - 2
TASKS.md

@@ -8,10 +8,10 @@ done
 - modules
 - .env dynamic configuration
 - check the reference config from https://hub.docker.com/r/rroemhild/ejabberd/
+- add abuse address
 
 open
 --------------------------
-- add abuse address
 - add backup
 - re-enable irc
 - add conversejs
@@ -26,4 +26,4 @@ deferred
 
 wishlist
 --------------------------
-- mam in sqlite with migration path for existing msgs
+- mam in sqlite with migration path for existing msgs

+ 9 - 2
data/conf.d/60-modules.yml

@@ -21,7 +21,14 @@ modules:
     websocket_url: "ws://@HOST@:5280/websocket"
 
   ## mod_delegation: {} # for xep0356
-  mod_disco: {}
+  mod_disco:
+    server_info:
+      #XEP-0157: Contact Addresses for XMPP Services
+      -
+        modules: all
+        name: "abuse-addresses"
+        urls:
+          - "data:,Please%20contact%20the%20RFC%202142%20abuse%20address%20of%20this%20domain."
   mod_fail2ban: {}
 #  mod_stun_disco: {} #--> see 50-stun-turn.yml
 #  mod_http_api: {}
@@ -136,4 +143,4 @@ modules:
   mod_version:
     show_os: false
   mod_stream_mgmt:
-    resend_on_timeout: if_offline
+    resend_on_timeout: if_offline