25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-31 15:21:38 +01:00
xmpp.chapril.org-ejabberd/test/ejabberd_SUITE_data/ejabberd.yml

507 lines
11 KiB
YAML
Raw Normal View History

host_config:
"pgsql.localhost":
2016-04-20 11:27:32 +02:00
sql_username: "@@pgsql_user@@"
sql_type: pgsql
sql_server: "@@pgsql_server@@"
sql_port: @@pgsql_port@@
sql_pool_size: 1
sql_password: "@@pgsql_pass@@"
sql_database: "@@pgsql_db@@"
auth_method: sql
sm_db_type: sql
modules:
mod_announce:
2016-04-20 11:27:32 +02:00
db_type: sql
2014-07-27 11:02:46 +02:00
access: local
mod_blocking: []
mod_caps:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_last:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_muc:
2016-04-20 11:27:32 +02:00
db_type: sql
2017-03-29 11:58:01 +02:00
ram_db_type: sql
mod_offline:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_privacy:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_private:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_pubsub:
2016-04-20 11:27:32 +02:00
db_type: sql
access_createnode: pubsub_createnode
ignore_pep_from_offline: true
last_item_cache: false
plugins:
- "flat"
- "hometree"
- "pep"
2013-09-24 10:40:32 +02:00
mod_roster:
versioning: true
store_current_id: true
2016-04-20 11:27:32 +02:00
db_type: sql
2015-06-22 15:56:08 +02:00
mod_mam:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_vcard:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_vcard_xupdate: []
2017-03-30 09:31:51 +02:00
mod_carboncopy:
ram_db_type: sql
mod_adhoc: []
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
2017-01-23 11:51:05 +01:00
mod_s2s_dialback: []
mod_legacy_auth: []
mod_register:
welcome_message:
subject: "Welcome!"
body: "Hi.
2015-03-16 19:53:19 +01:00
Welcome to this XMPP server."
mod_stats: []
mod_time: []
mod_version: []
"sqlite.localhost":
2016-04-20 11:27:32 +02:00
sql_type: sqlite
sql_pool_size: 1
2016-04-20 11:27:32 +02:00
auth_method: sql
sm_db_type: sql
2015-03-16 19:53:19 +01:00
modules:
mod_announce:
2016-04-20 11:27:32 +02:00
db_type: sql
2015-03-16 19:53:19 +01:00
access: local
mod_blocking: []
2015-03-16 19:53:19 +01:00
mod_caps:
2016-04-20 11:27:32 +02:00
db_type: sql
2015-03-16 19:53:19 +01:00
mod_last:
2016-04-20 11:27:32 +02:00
db_type: sql
2015-03-16 19:53:19 +01:00
mod_muc:
2016-04-20 11:27:32 +02:00
db_type: sql
2017-03-29 11:58:01 +02:00
ram_db_type: sql
2015-03-16 19:53:19 +01:00
mod_offline:
2016-04-20 11:27:32 +02:00
db_type: sql
2015-03-16 19:53:19 +01:00
mod_privacy:
2016-04-20 11:27:32 +02:00
db_type: sql
2015-03-16 19:53:19 +01:00
mod_private:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_pubsub:
2016-04-20 11:27:32 +02:00
db_type: sql
2015-03-16 19:53:19 +01:00
access_createnode: pubsub_createnode
ignore_pep_from_offline: true
last_item_cache: false
plugins:
- "flat"
- "hometree"
- "pep"
mod_roster:
versioning: true
store_current_id: true
2016-04-20 11:27:32 +02:00
db_type: sql
2015-06-22 15:56:08 +02:00
mod_mam:
2016-04-20 11:27:32 +02:00
db_type: sql
2015-03-16 19:53:19 +01:00
mod_vcard:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_vcard_xupdate: []
2017-03-30 09:31:51 +02:00
mod_carboncopy:
ram_db_type: sql
2015-03-16 19:53:19 +01:00
mod_adhoc: []
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
2017-01-23 11:51:05 +01:00
mod_s2s_dialback: []
mod_legacy_auth: []
2015-03-16 19:53:19 +01:00
mod_register:
welcome_message:
subject: "Welcome!"
body: "Hi.
Welcome to this XMPP server."
mod_stats: []
mod_time: []
mod_version: []
"mysql.localhost":
2016-04-20 11:27:32 +02:00
sql_username: "@@mysql_user@@"
sql_type: mysql
sql_server: "@@mysql_server@@"
sql_port: @@mysql_port@@
sql_pool_size: 1
sql_password: "@@mysql_pass@@"
sql_database: "@@mysql_db@@"
auth_method: sql
sm_db_type: sql
modules:
mod_announce:
2016-04-20 11:27:32 +02:00
db_type: sql
2014-07-27 11:02:46 +02:00
access: local
mod_blocking: []
mod_caps:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_last:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_muc:
2016-04-20 11:27:32 +02:00
db_type: sql
2017-03-29 11:58:01 +02:00
ram_db_type: sql
mod_offline:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_privacy:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_private:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_pubsub:
2016-04-20 11:27:32 +02:00
db_type: sql
access_createnode: pubsub_createnode
ignore_pep_from_offline: true
last_item_cache: false
plugins:
- "flat"
- "hometree"
- "pep"
mod_roster:
2013-09-24 10:40:32 +02:00
versioning: true
store_current_id: true
2016-04-20 11:27:32 +02:00
db_type: sql
2015-06-22 15:56:08 +02:00
mod_mam:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_vcard:
2016-04-20 11:27:32 +02:00
db_type: sql
mod_vcard_xupdate: []
2017-03-30 09:31:51 +02:00
mod_carboncopy:
ram_db_type: sql
mod_adhoc: []
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
2017-01-23 11:51:05 +01:00
mod_s2s_dialback: []
mod_legacy_auth: []
mod_register:
welcome_message:
subject: "Welcome!"
body: "Hi.
Welcome to this XMPP server."
mod_stats: []
mod_time: []
mod_version: []
"mnesia.localhost":
queue_type: ram
auth_method: internal
modules:
mod_announce:
db_type: internal
2014-07-27 11:02:46 +02:00
access: local
mod_blocking: []
mod_caps:
db_type: internal
mod_last:
db_type: internal
mod_muc:
db_type: internal
mod_offline:
db_type: internal
mod_privacy:
db_type: internal
mod_private:
db_type: internal
mod_pubsub:
access_createnode: pubsub_createnode
ignore_pep_from_offline: true
last_item_cache: false
plugins:
- "flat"
- "hometree"
- "pep"
mod_roster:
2013-09-24 10:40:32 +02:00
versioning: true
store_current_id: true
db_type: internal
2015-06-22 15:56:08 +02:00
mod_mam:
db_type: internal
mod_vcard:
db_type: internal
mod_vcard_xupdate: []
2017-03-30 09:31:51 +02:00
mod_carboncopy:
ram_db_type: internal
mod_client_state:
queue_presence: true
queue_chat_states: true
queue_pep: true
mod_adhoc: []
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
mod_push: []
mod_push_keepalive: []
2017-01-23 11:51:05 +01:00
mod_s2s_dialback: []
mod_stream_mgmt:
resume_timeout: 3
2017-01-23 11:51:05 +01:00
mod_legacy_auth: []
mod_register:
welcome_message:
subject: "Welcome!"
body: "Hi.
2016-02-19 15:06:41 +01:00
Welcome to this XMPP server."
mod_stats: []
mod_time: []
mod_version: []
"redis.localhost":
queue_type: ram
2016-02-19 15:06:41 +01:00
auth_method: internal
sm_db_type: redis
modules:
mod_announce:
db_type: internal
access: local
mod_blocking: []
mod_caps:
db_type: internal
mod_last:
db_type: internal
mod_muc:
db_type: internal
mod_offline:
db_type: internal
mod_privacy:
db_type: internal
mod_private:
db_type: internal
mod_pubsub:
access_createnode: pubsub_createnode
ignore_pep_from_offline: true
last_item_cache: false
plugins:
- "flat"
- "hometree"
- "pep"
mod_roster:
versioning: true
store_current_id: true
db_type: internal
mod_mam:
db_type: internal
mod_vcard:
db_type: internal
mod_vcard_xupdate: []
2017-03-30 09:31:51 +02:00
mod_carboncopy:
ram_db_type: redis
2016-02-19 15:06:41 +01:00
mod_client_state:
queue_presence: true
queue_chat_states: true
queue_pep: true
2016-02-19 15:06:41 +01:00
mod_adhoc: []
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
mod_push: []
mod_push_keepalive: []
2017-01-23 11:51:05 +01:00
mod_s2s_dialback: []
mod_stream_mgmt:
resume_timeout: 3
2017-01-23 11:51:05 +01:00
mod_legacy_auth: []
2016-02-19 15:06:41 +01:00
mod_register:
welcome_message:
subject: "Welcome!"
body: "Hi.
2014-07-09 14:38:45 +02:00
Welcome to this XMPP server."
mod_stats: []
mod_time: []
mod_version: []
"riak.localhost":
queue_type: ram
2014-07-09 14:38:45 +02:00
auth_method: riak
sm_db_type: riak
2014-07-09 14:38:45 +02:00
modules:
mod_announce:
db_type: riak
2014-07-27 11:02:46 +02:00
access: local
mod_blocking: []
2014-07-09 14:38:45 +02:00
mod_caps:
db_type: riak
mod_last:
db_type: riak
mod_muc:
db_type: riak
mod_offline:
db_type: riak
mod_privacy:
db_type: riak
mod_private:
db_type: riak
mod_roster:
versioning: true
store_current_id: true
db_type: riak
mod_vcard:
db_type: riak
mod_vcard_xupdate: []
2017-04-15 13:41:14 +02:00
mod_carboncopy:
ram_db_type: riak
2014-07-09 14:38:45 +02:00
mod_adhoc: []
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
2017-01-23 11:51:05 +01:00
mod_s2s_dialback: []
mod_legacy_auth: []
2014-07-09 14:38:45 +02:00
mod_register:
welcome_message:
subject: "Welcome!"
body: "Hi.
Welcome to this XMPP server."
mod_stats: []
mod_time: []
mod_version: []
"localhost":
2016-09-25 08:57:56 +02:00
auth_method: [internal, anonymous]
"ldap.localhost":
queue_type: ram
ldap_servers:
- "localhost"
ldap_rootdn: "cn=admin,dc=localhost"
ldap_port: 1389
ldap_password: "password"
ldap_base: "ou=users,dc=localhost"
auth_method: ldap
modules:
2016-09-13 11:30:05 +02:00
mod_vcard:
db_type: ldap
mod_roster: [] # mod_roster is required by mod_shared_roster
mod_shared_roster_ldap:
ldap_auth_check: off
ldap_base: "dc=localhost"
ldap_rfilter: "(objectClass=posixGroup)"
ldap_gfilter: "(&(objectClass=posixGroup)(cn=%g))"
ldap_memberattr: "memberUid"
ldap_ufilter: "(uid=%u)"
ldap_userdesc: "cn"
mod_adhoc: []
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
mod_register:
welcome_message:
subject: "Welcome!"
body: "Hi.
Welcome to this XMPP server."
mod_stats: []
mod_time: []
mod_version: []
"extauth.localhost":
queue_type: ram
extauth_program: "python extauth.py"
auth_method: external
hosts:
- "localhost"
- "mnesia.localhost"
2016-02-19 15:06:41 +01:00
- "redis.localhost"
- "mysql.localhost"
- "pgsql.localhost"
- "extauth.localhost"
- "ldap.localhost"
2014-07-09 14:38:45 +02:00
- "riak.localhost"
2015-03-16 19:53:19 +01:00
- "sqlite.localhost"
access:
announce:
admin: allow
c2s:
blocked: deny
all: allow
c2s_shaper:
admin: none
all: normal
configure:
admin: allow
local:
local: allow
max_user_offline_messages:
2016-11-08 13:15:19 +01:00
all: infinity
max_user_sessions:
all: 10
muc:
all: allow
muc_admin:
admin: allow
muc_create:
local: allow
pubsub_createnode:
local: allow
register:
all: allow
s2s_shaper:
all: fast
acl:
local:
2013-08-27 12:12:26 +02:00
user_regexp: ""
define_macro:
CERTFILE: "cert.pem"
2016-09-23 11:30:33 +02:00
CAFILE: "ca.pem"
language: "en"
listen:
-
port: @@c2s_port@@
module: ejabberd_c2s
max_stanza_size: 65536
certfile: CERTFILE
cafile: CAFILE
zlib: true
starttls: true
tls_verify: true
shaper: c2s_shaper
access: c2s
-
port: @@s2s_port@@
module: ejabberd_s2s_in
-
port: @@web_port@@
module: ejabberd_http
captcha: true
request_handlers:
"/api": mod_http_api
2016-09-21 09:45:11 +02:00
-
port: @@component_port@@
module: ejabberd_service
password: >-
@@password@@
loglevel: @@loglevel@@
max_fsm_queue: 1000
queue_type: file
modules:
mod_adhoc: []
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
2016-09-25 09:17:03 +02:00
mod_legacy: []
2016-10-17 12:37:23 +02:00
mod_muc: []
mod_muc_admin: []
mod_register:
welcome_message:
subject: "Welcome!"
body: "Hi.
Welcome to this XMPP server."
mod_stats: []
2017-01-23 11:51:05 +01:00
mod_s2s_dialback: []
mod_legacy_auth: []
2017-02-21 10:38:03 +01:00
mod_stream_mgmt:
max_ack_queue: 10
resume_timeout: 3
mod_time: []
mod_version: []
registration_timeout: infinity
2016-09-23 11:30:33 +02:00
route_subdomains: s2s
domain_certfile: CERTFILE
s2s_use_starttls: false
s2s_cafile: CAFILE
2016-11-21 12:06:45 +01:00
outgoing_s2s_port: @@s2s_port@@
shaper:
fast: 50000
2016-11-08 13:15:19 +01:00
normal: 10000
api_permissions:
"public commands":
who: all
what: "*"