# XMPP client service (secure) # # * Custom Diffie-Hellman params needs to be created ahead, e.g. with # /etc/local-COMMON/ejabberd/mkdhparams.sh # # Sample DNS entries: # xmpp IN A 192.0.2.1 # _xmpp-client._tcp IN SRV 0 0 5222 xmpp # _xmppconnect IN TXT "_xmpp-client-xbosh=https://chat.example.org/http-bind" # _xmppconnect IN TXT "_xmpp-client-websocket=wss://chat.example.org/xmpp-websocket" listen: - port: 5222 ip: "::" module: ejabberd_c2s certfile: 'CERT_PATH' starttls_required: true protocol_options: 'TLS_OPTIONS' max_stanza_size: 65536 shaper: c2s_shaper access: c2s zlib: true tls_compression: false dhfile: 'DH_PATH' ciphers: 'TLS_CIPHERS' resend_on_timeout: if_offline modules: mod_admin_extra: [] mod_adhoc: [] mod_announce: access: announce mod_caps: [] mod_disco: [] mod_http_bind: [] mod_last: [] mod_offline: access_max_user_messages: max_user_offline_messages mod_ping: [] mod_privacy: [] mod_private: [] mod_pubsub: access_createnode: pubsub_createnode ignore_pep_from_offline: false last_item_cache: true plugins: - "flat" - "hometree" - "pep" mod_roster: versioning: true mod_shared_roster: [] mod_stats: [] mod_time: [] mod_vcard: [] mod_version: [] mod_mam: [] mod_blocking: [] mod_client_state: [] mod_carboncopy: []