mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
438 lines
9.3 KiB
YAML
438 lines
9.3 KiB
YAML
host_config:
|
|
"pgsql.localhost":
|
|
odbc_username: "@@pgsql_user@@"
|
|
odbc_type: pgsql
|
|
odbc_server: "@@pgsql_server@@"
|
|
odbc_port: @@pgsql_port@@
|
|
odbc_pool_size: 1
|
|
odbc_password: "@@pgsql_pass@@"
|
|
odbc_database: "@@pgsql_db@@"
|
|
auth_method: odbc
|
|
sm_db_type: odbc
|
|
modules:
|
|
mod_announce:
|
|
db_type: odbc
|
|
access: local
|
|
mod_blocking: []
|
|
mod_caps:
|
|
db_type: odbc
|
|
mod_last:
|
|
db_type: odbc
|
|
mod_muc:
|
|
db_type: odbc
|
|
mod_offline:
|
|
db_type: odbc
|
|
mod_privacy:
|
|
db_type: odbc
|
|
mod_private:
|
|
db_type: odbc
|
|
mod_pubsub:
|
|
db_type: odbc
|
|
access_createnode: pubsub_createnode
|
|
ignore_pep_from_offline: true
|
|
last_item_cache: false
|
|
plugins:
|
|
- "flat"
|
|
- "hometree"
|
|
- "pep"
|
|
mod_mix: []
|
|
mod_roster:
|
|
versioning: true
|
|
store_current_id: true
|
|
db_type: odbc
|
|
mod_mam:
|
|
db_type: odbc
|
|
mod_vcard:
|
|
db_type: odbc
|
|
mod_vcard_xupdate:
|
|
db_type: odbc
|
|
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: []
|
|
"sqlite.localhost":
|
|
odbc_type: sqlite
|
|
auth_method: odbc
|
|
sm_db_type: odbc
|
|
modules:
|
|
mod_announce:
|
|
db_type: odbc
|
|
access: local
|
|
mod_blocking: []
|
|
mod_caps:
|
|
db_type: odbc
|
|
mod_last:
|
|
db_type: odbc
|
|
mod_muc:
|
|
db_type: odbc
|
|
mod_offline:
|
|
db_type: odbc
|
|
mod_privacy:
|
|
db_type: odbc
|
|
mod_private:
|
|
db_type: odbc
|
|
mod_pubsub:
|
|
db_type: odbc
|
|
access_createnode: pubsub_createnode
|
|
ignore_pep_from_offline: true
|
|
last_item_cache: false
|
|
plugins:
|
|
- "flat"
|
|
- "hometree"
|
|
- "pep"
|
|
mod_mix: []
|
|
mod_roster:
|
|
versioning: true
|
|
store_current_id: true
|
|
db_type: odbc
|
|
mod_mam:
|
|
db_type: odbc
|
|
mod_vcard:
|
|
db_type: odbc
|
|
mod_vcard_xupdate:
|
|
db_type: odbc
|
|
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: []
|
|
"mysql.localhost":
|
|
odbc_username: "@@mysql_user@@"
|
|
odbc_type: mysql
|
|
odbc_server: "@@mysql_server@@"
|
|
odbc_port: @@mysql_port@@
|
|
odbc_pool_size: 1
|
|
odbc_password: "@@mysql_pass@@"
|
|
odbc_database: "@@mysql_db@@"
|
|
auth_method: odbc
|
|
sm_db_type: odbc
|
|
modules:
|
|
mod_announce:
|
|
db_type: odbc
|
|
access: local
|
|
mod_blocking: []
|
|
mod_caps:
|
|
db_type: odbc
|
|
mod_last:
|
|
db_type: odbc
|
|
mod_muc:
|
|
db_type: odbc
|
|
mod_offline:
|
|
db_type: odbc
|
|
mod_privacy:
|
|
db_type: odbc
|
|
mod_private:
|
|
db_type: odbc
|
|
mod_pubsub:
|
|
db_type: odbc
|
|
access_createnode: pubsub_createnode
|
|
ignore_pep_from_offline: true
|
|
last_item_cache: false
|
|
plugins:
|
|
- "flat"
|
|
- "hometree"
|
|
- "pep"
|
|
mod_mix: []
|
|
mod_roster:
|
|
versioning: true
|
|
store_current_id: true
|
|
db_type: odbc
|
|
mod_mam:
|
|
db_type: odbc
|
|
mod_vcard:
|
|
db_type: odbc
|
|
mod_vcard_xupdate:
|
|
db_type: odbc
|
|
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: []
|
|
"mnesia.localhost":
|
|
auth_method: internal
|
|
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_mix: []
|
|
mod_roster:
|
|
versioning: true
|
|
store_current_id: true
|
|
db_type: internal
|
|
mod_mam:
|
|
db_type: internal
|
|
mod_vcard:
|
|
db_type: internal
|
|
mod_vcard_xupdate:
|
|
db_type: internal
|
|
mod_carboncopy: []
|
|
mod_client_state:
|
|
drop_chat_states: true
|
|
queue_presence: true
|
|
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: []
|
|
"redis.localhost":
|
|
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_mix: []
|
|
mod_roster:
|
|
versioning: true
|
|
store_current_id: true
|
|
db_type: internal
|
|
mod_mam:
|
|
db_type: internal
|
|
mod_vcard:
|
|
db_type: internal
|
|
mod_vcard_xupdate:
|
|
db_type: internal
|
|
mod_carboncopy: []
|
|
mod_client_state:
|
|
drop_chat_states: true
|
|
queue_presence: true
|
|
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: []
|
|
"riak.localhost":
|
|
auth_method: riak
|
|
modules:
|
|
mod_announce:
|
|
db_type: riak
|
|
access: local
|
|
mod_blocking: []
|
|
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:
|
|
db_type: riak
|
|
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: []
|
|
"localhost":
|
|
auth_method: internal
|
|
"ldap.localhost":
|
|
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:
|
|
mod_vcard_ldap: []
|
|
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":
|
|
extauth_program: "python extauth.py"
|
|
auth_method: external
|
|
hosts:
|
|
- "localhost"
|
|
- "mnesia.localhost"
|
|
- "redis.localhost"
|
|
- "mysql.localhost"
|
|
- "pgsql.localhost"
|
|
- "extauth.localhost"
|
|
- "ldap.localhost"
|
|
- "riak.localhost"
|
|
- "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:
|
|
admin: 5000
|
|
all: 100
|
|
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:
|
|
user_regexp: ""
|
|
define_macro:
|
|
CERTFILE: "cert.pem"
|
|
language: "en"
|
|
listen:
|
|
-
|
|
port: @@c2s_port@@
|
|
module: ejabberd_c2s
|
|
max_stanza_size: 65536
|
|
certfile: CERTFILE
|
|
zlib: true
|
|
starttls: true
|
|
shaper: c2s_shaper
|
|
access: c2s
|
|
-
|
|
port: @@s2s_port@@
|
|
module: ejabberd_s2s_in
|
|
-
|
|
port: @@web_port@@
|
|
module: ejabberd_http
|
|
captcha: true
|
|
loglevel: 4
|
|
max_fsm_queue: 1000
|
|
modules:
|
|
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: []
|
|
registration_timeout: infinity
|
|
shaper:
|
|
fast: 50000
|
|
normal: 1000
|