Advertisement
GoodiesHQ

Untitled

Aug 28th, 2017
810
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 18.92 KB | None | 0 0
  1. ###
  2. ###'              ejabberd configuration file
  3. ###
  4. ###
  5.  
  6. ### The parameters used in this configuration file are explained in more detail
  7. ### in the ejabberd Installation and Operation Guide.
  8. ### Please consult the Guide in case of doubts, it is included with
  9. ### your copy of ejabberd, and is also available online at
  10. ### http://www.process-one.net/en/ejabberd/docs/
  11.  
  12. ### The configuration file is written in YAML.
  13. ### Refer to http://en.wikipedia.org/wiki/YAML for the brief description.
  14. ### However, ejabberd treats different literals as different types:
  15. ###
  16. ### - unquoted or single-quoted strings. They are called "atoms".
  17. ###   Example: dog, 'Jupiter', '3.14159', YELLOW
  18. ###
  19. ### - numeric literals. Example: 3, -45.0, .0
  20. ###
  21. ### - quoted or folded strings.
  22. ###   Examples of quoted string: "Lizzard", "orange".
  23. ###   Example of folded string:
  24. ###   > Art thou not Romeo,
  25. ###     and a Montague?
  26. ---
  27. ###.  =======
  28. ###'  LOGGING
  29.  
  30. ##
  31. ## loglevel: Verbosity of log files generated by ejabberd.
  32. ## 0: No ejabberd log at all (not recommended)
  33. ## 1: Critical
  34. ## 2: Error
  35. ## 3: Warning
  36. ## 4: Info
  37. ## 5: Debug
  38. ##
  39. loglevel: 4
  40.  
  41. ##
  42. ## rotation: Disable ejabberd's internal log rotation, as the Debian package
  43. ## uses logrotate(8).
  44. log_rotate_size: 0
  45. log_rotate_date: ""
  46.  
  47. ##
  48. ## overload protection: If you want to limit the number of messages per second
  49. ## allowed from error_logger, which is a good idea if you want to avoid a flood
  50. ## of messages when system is overloaded, you can set a limit.
  51. ## 100 is ejabberd's default.
  52. log_rate_limit: 100
  53.  
  54. ##
  55. ## watchdog_admins: Only useful for developers: if an ejabberd process
  56. ## consumes a lot of memory, send live notifications to these XMPP
  57. ## accounts.
  58. ##
  59. ## watchdog_admins:
  60. ##   - "bob@example.com"
  61.  
  62. ###.  ===============
  63. ###'  NODE PARAMETERS
  64.  
  65. ##
  66. ## net_ticktime: Specifies net_kernel tick time in seconds. This options must have
  67. ## identical value on all nodes, and in most cases shouldn't be changed at all from
  68. ## default value.
  69. ##
  70. ## net_ticktime: 60
  71.  
  72. ###.  ================
  73. ###'  SERVED HOSTNAMES
  74.  
  75. ##
  76. ## hosts: Domains served by ejabberd.
  77. ## You can define one or several, for example:
  78. ## hosts:
  79. ##   - "example.net"
  80. ##   - "example.com"
  81. ##   - "example.org"
  82. ##
  83. hosts:
  84.  - "example.com"
  85.  
  86. ##  - "localhost"
  87.  
  88. ##
  89. ## route_subdomains: Delegate subdomains to other XMPP servers.
  90. ## For example, if this ejabberd serves example.org and you want
  91. ## to allow communication with an XMPP server called im.example.org.
  92. ##
  93. ## route_subdomains: s2s
  94.  
  95. ###.  ===============
  96. ###'  LISTENING PORTS
  97.  
  98. ## Define common macros used by listeners
  99. define_macro:
  100.   'CERTFILE': "/etc/ejabberd/ejabberd.pem"
  101. ##  'CIPHERS': "ECDH:DH:!3DES:!aNULL:!eNULL:!MEDIUM@STRENGTH"
  102.   'TLSOPTS':
  103.    - "no_sslv3"
  104.     - "no_tlsv1"
  105.     - "cipher_server_preference"
  106.     - "no_compression"
  107. ##  'DHFILE': "/path/to/dhparams.pem" # generated with: openssl dhparam -out dhparams.pem 2048
  108.  
  109. ##
  110. ## listen: The ports ejabberd will listen on, which service each is handled
  111. ## by and what options to start it with.
  112. ##
  113. listen:
  114.  -
  115.     port: 5222
  116.     ip: "::"
  117.     module: ejabberd_c2s
  118.     starttls_required: true
  119.     certfile: 'CERTFILE'
  120.     protocol_options: 'TLSOPTS'
  121.     ## dhfile: 'DHFILE'
  122.     ## ciphers: 'CIPHERS'
  123.     max_stanza_size: 65536
  124.     shaper: c2s_shaper
  125.     access: c2s
  126.     resend_on_timeout: if_offline
  127.   -
  128.     port: 5269
  129.     ip: "::"
  130.     module: ejabberd_s2s_in
  131.   -
  132.     port: 8443
  133.     ip: "::"
  134.     module: ejabberd_http
  135.     request_handlers:
  136.       "/ws": ejabberd_http_ws
  137.       "/bosh": mod_bosh
  138.       "/api": mod_http_api
  139.     ##  "/pub/archive": mod_http_fileserver
  140.     web_admin: true
  141.     ## register: true
  142.     ## captcha: true
  143.     tls: true
  144.     certfile: 'CERTFILE'
  145.     protocol_options: 'TLSOPTS'
  146.   ##
  147.   ## ejabberd_service: Interact with external components (transports, ...)
  148.   ##
  149.   ## -
  150.   ##   port: 8888
  151.   ##   ip: "::"
  152.   ##   module: ejabberd_service
  153.   ##   access: all
  154.   ##   shaper_rule: fast
  155.   ##   ip: "127.0.0.1"
  156.   ##   privilege_access:
  157.   ##      roster: "both"
  158.   ##      message: "outgoing"
  159.   ##      presence: "roster"
  160.   ##   delegations:
  161.   ##      "urn:xmpp:mam:1":
  162.   ##        filtering: ["node"]
  163.   ##      "http://jabber.org/protocol/pubsub":
  164.   ##        filtering: []
  165.   ##   hosts:
  166.   ##     "icq.example.org":
  167.   ##       password: "secret"
  168.   ##     "sms.example.org":
  169.   ##       password: "secret"
  170.  
  171.   ##
  172.   ## ejabberd_stun: Handles STUN Binding requests
  173.   ##
  174.   ## -
  175.   ##   port: 3478
  176.   ##   transport: udp
  177.   ##   module: ejabberd_stun
  178.  
  179.   ##
  180.   ## To handle XML-RPC requests that provide admin credentials:
  181.   ##
  182.   ## -
  183.   ##   port: 4560
  184.   ##   ip: "::"
  185.   ##   module: ejabberd_xmlrpc
  186.   ##   access_commands: {}
  187.  
  188.   ##
  189.   ## To enable secure http upload
  190.   ##
  191.   ## -
  192.   ##   port: 5444
  193.   ##   ip: "::"
  194.   ##   module: ejabberd_http
  195.   ##   request_handlers:
  196.   ##     "": mod_http_upload
  197.   ##   tls: true
  198.   ##   certfile: 'CERTFILE'
  199.   ##   protocol_options: 'TLSOPTS'
  200.   ##   dhfile: 'DHFILE'
  201.   ##   ciphers: 'CIPHERS'
  202.  
  203. ## Disabling digest-md5 SASL authentication. digest-md5 requires plain-text
  204. ## password storage (see auth_password_format option).
  205. disable_sasl_mechanisms: "digest-md5"
  206.  
  207. ###.  ==================
  208. ###'  S2S GLOBAL OPTIONS
  209.  
  210. ##
  211. ## s2s_use_starttls: Enable STARTTLS for S2S connections.
  212. ## Allowed values are: false optional required required_trusted
  213. ## You must specify a certificate file.
  214. ##
  215. s2s_use_starttls: required
  216.  
  217. ##
  218. ## s2s_certfile: Specify a certificate file.
  219. ##
  220. s2s_certfile: 'CERTFILE'
  221.  
  222. ## Custom OpenSSL options
  223. ##
  224. s2s_protocol_options: 'TLSOPTS'
  225.  
  226. ##
  227. ## domain_certfile: Specify a different certificate for each served hostname.
  228. ##
  229. ## host_config:
  230. ##   "example.org":
  231. ##     domain_certfile: "/path/to/example_org.pem"
  232. ##   "example.com":
  233. ##     domain_certfile: "/path/to/example_com.pem"
  234.  
  235. ##
  236. ## S2S whitelist or blacklist
  237. ##
  238. ## Default s2s policy for undefined hosts.
  239. ##
  240. ## s2s_access: s2s
  241.  
  242. ##
  243. ## Outgoing S2S options
  244. ##
  245. ## Preferred address families (which to try first) and connect timeout
  246. ## in seconds.
  247. ##
  248. ## outgoing_s2s_families:
  249. ##   - ipv4
  250. ##   - ipv6
  251. ## outgoing_s2s_timeout: 190
  252.  
  253. ###.  ==============
  254. ###'  AUTHENTICATION
  255.  
  256. ##
  257. ## auth_method: Method used to authenticate the users.
  258. ## The default method is the internal.
  259. ## If you want to use a different method,
  260. ## comment this line and enable the correct ones.
  261. ##
  262. ## auth_method: internal
  263.  
  264. ##
  265. ## Store the plain passwords or hashed for SCRAM:
  266. ## auth_password_format: plain
  267. auth_password_format: scram
  268. ##
  269. ## Define the FQDN if ejabberd doesn't detect it:
  270. ## fqdn: "server3.example.com"
  271. fqdn: "example.com"
  272.  
  273. ##
  274. ## Authentication using external script
  275. ## Make sure the script is executable by ejabberd.
  276. ##
  277. ## auth_method: external
  278. ## extauth_program: "/path/to/authentication/script"
  279.  
  280. ##
  281. ## Authentication using SQL
  282. ## Remember to setup a database in the next section.
  283. ##
  284. auth_method: sql
  285.  
  286. ##
  287. ## Authentication using PAM
  288. ##
  289. ## auth_method: pam
  290. ## pam_service: "pamservicename"
  291.  
  292. ##
  293. ## Authentication using LDAP
  294. ##
  295. ## auth_method: ldap
  296. ##
  297. ## List of LDAP servers:
  298. ## ldap_servers:
  299. ##   - "localhost"
  300. ##
  301. ## Encryption of connection to LDAP servers:
  302. ## ldap_encrypt: none
  303. ## ldap_encrypt: tls
  304. ##
  305. ## Port to connect to on LDAP servers:
  306. ## ldap_port: 389
  307. ## ldap_port: 636
  308. ##
  309. ## LDAP manager:
  310. ## ldap_rootdn: "dc=example,dc=com"
  311. ##
  312. ## Password of LDAP manager:
  313. ## ldap_password: "******"
  314. ##
  315. ## Search base of LDAP directory:
  316. ## ldap_base: "dc=example,dc=com"
  317. ##
  318. ## LDAP attribute that holds user ID:
  319. ## ldap_uids:
  320. ##   - "mail": "%u@mail.example.org"
  321. ##
  322. ## LDAP filter:
  323. ## ldap_filter: "(objectClass=shadowAccount)"
  324.  
  325. ##
  326. ## Anonymous login support:
  327. ##   auth_method: anonymous
  328. ##   anonymous_protocol: sasl_anon | login_anon | both
  329. ##   allow_multiple_connections: true | false
  330. ##
  331. ## host_config:
  332. ##   "public.example.org":
  333. ##     auth_method: anonymous
  334. ##     allow_multiple_connections: false
  335. ##     anonymous_protocol: sasl_anon
  336. ##
  337. ## To use both anonymous and internal authentication:
  338. ##
  339. ## host_config:
  340. ##   "public.example.org":
  341. ##     auth_method:
  342. ##       - internal
  343. ##       - anonymous
  344.  
  345. ###.  ==============
  346. ###'  DATABASE SETUP
  347.  
  348. ## ejabberd by default uses the internal Mnesia database,
  349. ## so you do not necessarily need this section.
  350. ## This section provides configuration examples in case
  351. ## you want to use other database backends.
  352. ## Please consult the ejabberd Guide for details on database creation.
  353.  
  354. ##
  355. ## MySQL server:
  356. ##
  357. ## sql_type: mysql
  358. ## sql_server: "server"
  359. ## sql_database: "database"
  360. ## sql_username: "username"
  361. ## sql_password: "password"
  362. ##
  363. ## If you want to specify the port:
  364. ## sql_port: 1234
  365.  
  366. ##
  367. ## PostgreSQL server:
  368. ##
  369. sql_type: pgsql
  370. sql_server: "localhost"
  371. sql_database: "ejabberd"
  372. sql_username: "ejabberd"
  373. sql_password: "Passw0rd!"
  374. ##
  375. ## If you want to specify the port:
  376. sql_port: 5432
  377. ## sql_port: 1234
  378. ##
  379. ## If you use PostgreSQL, have a large database, and need a
  380. ## faster but inexact replacement for "select count(*) from users"
  381. ##
  382. ## pgsql_users_number_estimate: true
  383.  
  384. ##
  385. ## SQLite:
  386. ##
  387. ## sql_type: sqlite
  388. ## sql_database: "/path/to/database.db"
  389.  
  390. ##
  391. ## ODBC compatible or MSSQL server:
  392. ##
  393. ## sql_type: odbc
  394. ## sql_server: "DSN=ejabberd;UID=ejabberd;PWD=ejabberd"
  395.  
  396. ##
  397. ## Number of connections to open to the database for each virtual host
  398. ##
  399. ## sql_pool_size: 10
  400.  
  401. ##
  402. ## Interval to make a dummy SQL request to keep the connections to the
  403. ## database alive. Specify in seconds: for example 28800 means 8 hours
  404. ##
  405. ## sql_keepalive_interval: undefined
  406.  
  407. ###.  ===============
  408. ###'  TRAFFIC SHAPERS
  409.  
  410. shaper:
  411.  ##
  412.   ## The "normal" shaper limits traffic speed to 1000 B/s
  413.   ##
  414.   normal: 1000
  415.  
  416.   ##
  417.   ## The "fast" shaper limits traffic speed to 50000 B/s
  418.   ##
  419.   fast: 50000
  420.  
  421. ##
  422. ## This option specifies the maximum number of elements in the queue
  423. ## of the FSM. Refer to the documentation for details.
  424. ##
  425. max_fsm_queue: 1000
  426.  
  427. ###.   ====================
  428. ###'   ACCESS CONTROL LISTS
  429. acl:
  430.  ##
  431.   ## The 'admin' ACL grants administrative privileges to XMPP accounts.
  432.   ## You can put here as many accounts as you want.
  433.   ##
  434.   admin:
  435.      user:
  436.       - "@localhost"
  437.        - "admin@example.com"
  438.  
  439.   ##
  440.   ## Blocked users
  441.   ##
  442.   ## blocked:
  443.   ##   user:
  444.   ##     - "baduser@example.org"
  445.   ##     - "test"
  446.  
  447.   ## Local users: don't modify this.
  448.   ##
  449.   local:
  450.     user_regexp: ""
  451.  
  452.   ##
  453.   ## More examples of ACLs
  454.   ##
  455.   ## jabberorg:
  456.   ##   server:
  457.   ##     - "jabber.org"
  458.   ## aleksey:
  459.   ##   user:
  460.   ##     - "aleksey@jabber.ru"
  461.   ## test:
  462.   ##   user_regexp: "^test"
  463.   ##   user_glob: "test*"
  464.  
  465.   ##
  466.   ## Loopback network
  467.   ##
  468.   loopback:
  469.     ip:
  470.      - "127.0.0.0/8"
  471.       - "::1/128"
  472.       - "::FFFF:127.0.0.1/128"
  473.  
  474.   ##
  475.   ## Bad XMPP servers
  476.   ##
  477.   ## bad_servers:
  478.   ##   server:
  479.   ##     - "xmpp.zombie.org"
  480.   ##     - "xmpp.spam.com"
  481.  
  482. ##
  483. ## Define specific ACLs in a virtual host.
  484. ##
  485. ## host_config:
  486. ##   "localhost":
  487. ##     acl:
  488. ##       admin:
  489. ##         user:
  490. ##           - "bob-local@localhost"
  491.  
  492. ###.  ============
  493. ###'  SHAPER RULES
  494.  
  495. shaper_rules:
  496.  ## Maximum number of simultaneous sessions allowed for a single user:
  497.   max_user_sessions: 10
  498.   ## Maximum number of offline messages that users can have:
  499.   max_user_offline_messages:
  500.     - 5000: admin
  501.     - 100
  502.   ## For C2S connections, all users except admins use the "normal" shaper
  503.   c2s_shaper:
  504.     - none: admin
  505.     - normal
  506.   ## All S2S connections use the "fast" shaper
  507.   s2s_shaper: fast
  508.  
  509. ###.  ============
  510. ###'  ACCESS RULES
  511. access_rules:
  512.  ## This rule allows access only for local users:
  513.   local:
  514.     - allow: local
  515.   ## Only non-blocked users can use c2s connections:
  516.   c2s:
  517.     - deny: blocked
  518.     - allow
  519.   ## Only admins can send announcement messages:
  520.   announce:
  521.     - allow: admin
  522.   ## Only admins can use the configuration interface:
  523.   configure:
  524.     - allow: admin
  525.   ## Only accounts of the local ejabberd server can create rooms:
  526.   muc_create:
  527.     - allow: local
  528.   ## Only accounts on the local ejabberd server can create Pubsub nodes:
  529.   pubsub_createnode:
  530.     - allow: all
  531. # - allow: local
  532.   ## In-band registration allows registration of any possible username.
  533.   ## To disable in-band registration, replace 'allow' with 'deny'.
  534.   register:
  535.    - allow
  536.   ## Only allow to register from localhost
  537.   trusted_network:
  538.     - allow: loopback
  539.   ## Do not establish S2S connections with bad servers
  540.   ## If you enable this you also have to uncomment "s2s_access: s2s"
  541.   ## s2s:
  542.   ##   - deny:
  543.   ##     - ip: "XXX.XXX.XXX.XXX/32"
  544.   ##   - deny:
  545.   ##     - ip: "XXX.XXX.XXX.XXX/32"
  546.   ##   - allow
  547.  
  548. ## ===============
  549. ## API PERMISSIONS
  550. ## ===============
  551. ##
  552. ## This section allows you to define who and using what method
  553. ## can execute commands offered by ejabberd.
  554. ##
  555. ## By default "console commands" section allow executing all commands
  556. ## issued using ejabberdctl command, and "admin access" section allows
  557. ## users in admin acl that connect from 127.0.0.1 to  execute all
  558. ## commands except start and stop with any available access method
  559. ## (ejabberdctl, http-api, xmlrpc depending what is enabled on server).
  560. ##
  561. ## If you remove "console commands" there will be one added by
  562. ## default allowing executing all commands, but if you just change
  563. ## permissions in it, version from config file will be used instead
  564. ## of default one.
  565. ##
  566. api_permissions:
  567.   "console commands":
  568.     from:
  569.      - ejabberd_ctl
  570.     who: all
  571.     what: "*"
  572.   "admin access":
  573.     who:
  574.       - access:
  575.         - allow:
  576.           - acl: loopback
  577.           - acl: admin
  578.       - oauth:
  579.         - scope: "ejabberd:admin"
  580.         - access:
  581.           - allow:
  582.             - acl: loopback
  583.             - acl: admin
  584.     what:
  585.      - "*"
  586.       - "!stop"
  587.       - "!start"
  588.   "public commands":
  589.     who:
  590.       - ip: "127.0.0.1/8"
  591.     what:
  592.      - "status"
  593.       - "connected_users_number"
  594.  
  595. ## By default the frequency of account registrations from the same IP
  596. ## is limited to 1 account every 10 minutes. To disable, specify: infinity
  597. ## registration_timeout: 600
  598.  
  599. ##
  600. ## Define specific Access Rules in a virtual host.
  601. ##
  602. ## host_config:
  603. ##   "localhost":
  604. ##     access:
  605. ##       c2s:
  606. ##         - allow: admin
  607. ##         - deny
  608. ##       register:
  609. ##         - deny
  610.  
  611. ###.  ================
  612. ###'  DEFAULT LANGUAGE
  613.  
  614. ##
  615. ## language: Default language used for server messages.
  616. ##
  617. language: "en"
  618.  
  619. ##
  620. ## Set a different default language in a virtual host.
  621. ##
  622. ## host_config:
  623. ##   "localhost":
  624. ##     language: "ru"
  625.  
  626. ###.  =======
  627. ###'  CAPTCHA
  628.  
  629. ##
  630. ## Full path to a script that generates the image.
  631. ##
  632. ## captcha_cmd: "/usr/share/ejabberd/captcha.sh"
  633.  
  634. ##
  635. ## Host for the URL and port where ejabberd listens for CAPTCHA requests.
  636. ##
  637. ## captcha_host: "example.org:5280"
  638.  
  639. ##
  640. ## Limit CAPTCHA calls per minute for JID/IP to avoid DoS.
  641. ##
  642. ## captcha_limit: 5
  643.  
  644. ###.  =======
  645. ###'  MODULES
  646.  
  647. ##
  648. ## Modules enabled in all ejabberd virtual hosts.
  649. ##
  650. modules:
  651.   mod_adhoc: {}
  652.   mod_admin_extra: {}
  653.   mod_announce: # recommends mod_adhoc
  654.     access: announce
  655.   mod_blocking: {} # requires mod_privacy
  656.   mod_caps: {}
  657.   mod_carboncopy: {}
  658.   mod_client_state: {}
  659.   mod_configure: {} # requires mod_adhoc
  660.   ## mod_delegation: {} # for xep0356
  661.   mod_disco: {}
  662.   mod_echo: {}
  663.   mod_irc: {}
  664.   mod_bosh: {}
  665.   ## mod_http_fileserver:
  666.   ##   docroot: "/var/www"
  667.   ##   accesslog: "/var/log/ejabberd/access.log"
  668.   ## mod_http_upload:
  669.   ##   # docroot: "@HOME@/upload"
  670.   ##   put_url: "https://@HOST@:5444"
  671.   ##   thumbnail: false # otherwise needs the identify command from ImageMagick installed
  672.   ## mod_http_upload_quota:
  673.   ##   max_days: 30
  674.   mod_last: {}
  675.   ## XEP-0313: Message Archive Management
  676.   ## You might want to setup a SQL backend for MAM because the mnesia database is
  677.   ## limited to 2GB which might be exceeded on large servers
  678.   ## mod_mam: {} # for xep0313, mnesia is limited to 2GB, better use an SQL backend
  679.   mod_muc:
  680.    ## host: "conference.@HOST@"
  681.     access:
  682.      - allow
  683.     access_admin:
  684.       - allow: admin
  685.     access_create: muc_create
  686.     access_persistent: muc_create
  687.   mod_muc_admin: {}
  688.   ## mod_muc_log: {}
  689.   ## mod_multicast: {}
  690.   mod_offline:
  691.     access_max_user_messages: max_user_offline_messages
  692.   mod_ping: {}
  693.   ## mod_pres_counter:
  694.   ##   count: 5
  695.   ##   interval: 60
  696.   mod_privacy: {}
  697.   mod_private: {}
  698.   ## mod_proxy65: {}
  699.   mod_pubsub:
  700.     access_createnode: pubsub_createnode
  701.     ## reduces resource comsumption, but XEP incompliant
  702.     ignore_pep_from_offline: true
  703.     ## XEP compliant, but increases resource comsumption
  704.     ## ignore_pep_from_offline: false
  705.     last_item_cache: false
  706.     plugins:
  707.      - "flat"
  708.       - "hometree"
  709.       - "pep" # pep requires mod_caps
  710.   ## mod_register:
  711.     ##
  712.     ## Protect In-Band account registrations with CAPTCHA.
  713.     ##
  714.     ##   captcha_protected: true
  715.     ##
  716.     ## Set the minimum informational entropy for passwords.
  717.     ##
  718.     ##   password_strength: 32
  719.     ##
  720.     ## After successful registration, the user receives
  721.     ## a message with this subject and body.
  722.     ##
  723.     ##   welcome_message:
  724.     ##     subject: "Welcome!"
  725.     ##     body: |-
  726.     ##       Hi.
  727.     ##       Welcome to this XMPP server.
  728.     ##
  729.     ## When a user registers, send a notification to
  730.     ## these XMPP accounts.
  731.     ##
  732.     ##   registration_watchers:
  733.     ##     - "admin1@example.org"
  734.     ##
  735.     ## Only clients in the server machine can register accounts
  736.     ##
  737.     ##   ip_access: trusted_network
  738.     ##
  739.     ## Local c2s or remote s2s users cannot register accounts
  740.     ##
  741.     ##   access_from: deny
  742.     ##   access: register
  743.   mod_roster:
  744.     versioning: true
  745.   mod_shared_roster: {}
  746.   mod_stats: {}
  747.   mod_time: {}
  748.   mod_vcard:
  749.     search: false
  750.   mod_version: {}
  751.   mod_stream_mgmt: {}
  752.   ##   Non-SASL Authentication (XEP-0078) is now disabled by default
  753.   ##   because it's obsoleted and is used mostly by abandoned
  754.   ##   client software
  755.   ## mod_legacy_auth: {}
  756.   ##   The module for S2S dialback (XEP-0220). Please note that you cannot
  757.   ##   rely solely on dialback if you want to federate with other servers,
  758.   ##   because a lot of servers have dialback disabled and instead rely on
  759.   ##   PKIX authentication. Make sure you have proper certificates installed
  760.   ##   and check your accessibility at https://xmpp.net/
  761.   mod_s2s_dialback: {}
  762.   mod_http_api: {}
  763.  
  764. ##
  765. ## Enable modules with custom options in a specific virtual host
  766. ##
  767. ## host_config:
  768. ##   "localhost":
  769. ##     modules:
  770. ##       mod_echo:
  771. ##         host: "mirror.localhost"
  772.  
  773. ##
  774. ## Enable modules management via ejabberdctl for installation and
  775. ## uninstallation of public/private contributed modules
  776. ## (enabled by default)
  777. ##
  778.  
  779. allow_contrib_modules: true
  780.  
  781. ###.
  782. ###'
  783. ### Local Variables:
  784. ### mode: yaml
  785. ### End:
  786. ### vim: set filetype=yaml tabstop=8 foldmarker=###',###. foldmethod=marker:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement