diff --git a/conf.d/01-modules.cfg.lua b/conf.d/01-modules.cfg.lua index 045e11b..58fec1c 100644 --- a/conf.d/01-modules.cfg.lua +++ b/conf.d/01-modules.cfg.lua @@ -42,6 +42,8 @@ modules_enabled = { --"watchregistrations"; -- Alert admins of registrations --"motd"; -- Send a message to users when they log in --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots. + + "server_contact_info"; -- This module lets you advertise various contact addresses for your XMPP service via XEP-0157. }; -- These modules are auto-loaded, but should you want diff --git a/conf.d/05-server_contact_info.cfg.lua b/conf.d/05-server_contact_info.cfg.lua new file mode 100644 index 0000000..aecbd37 --- /dev/null +++ b/conf.d/05-server_contact_info.cfg.lua @@ -0,0 +1,8 @@ +contact_info = { + abuse = { "xmpp:abuse@" .. domain }; + admin = { "xmpp:admin@" .. domain }; + feedback = { "xmpp:feedback@" .. domain }; + sales = { "xmpp:sales@" .. domain }; + security = { "xmpp:security@" .. domain }; + support = { "xmpp:support@" .. domain }; +}