[ejabberd] cleanup de la config
Ignore-this: db4197672155af33adcec36d8b26fea6 darcs-hash:20121103184240-8fbb1-dc0047306708fa011c706b69fdf0aa019a11beb9.gz
This commit is contained in:
parent
9f1cd9b720
commit
35adbd1e10
1 changed files with 16 additions and 27 deletions
|
@ -157,10 +157,7 @@ info["perms"] = 0640
|
||||||
@
|
@
|
||||||
@ %% Jabber ICQ Transport
|
@ %% Jabber ICQ Transport
|
||||||
@% {5555, ejabberd_service, [
|
@% {5555, ejabberd_service, [
|
||||||
if has("external"):
|
@% {ip, {127, 0, 0, 1}},
|
||||||
@% {ip, {127, 0, 0, 1}},
|
|
||||||
else:
|
|
||||||
@% {ip, {10, 231, 136, 8}}, % ip adm d'ovh
|
|
||||||
@% {access, all},
|
@% {access, all},
|
||||||
@% {shaper_rule, fast},
|
@% {shaper_rule, fast},
|
||||||
@% {hosts, ["icq.crans.org", "sms.crans.org"],
|
@% {hosts, ["icq.crans.org", "sms.crans.org"],
|
||||||
|
@ -176,15 +173,12 @@ else:
|
||||||
@% ]},
|
@% ]},
|
||||||
@
|
@
|
||||||
@ %% MSN Transport
|
@ %% MSN Transport
|
||||||
@% {5557, ejabberd_service, [
|
@ {5560, ejabberd_service, [
|
||||||
if has("external"):
|
@ {ip, {127, 0, 0, 1}},
|
||||||
@% {ip, {127, 0, 0, 1}},
|
@ {access, all},
|
||||||
else:
|
@ {shaper_rule, fast},
|
||||||
@% {ip, {10, 231, 136, 8}}, % ip adm d'ovh
|
@ {host, "msn2.crans.org", [{password, "ZJ4SXSIiSOUPU"}]}
|
||||||
@% {access, all},
|
@ ]},
|
||||||
@% {shaper_rule, fast},
|
|
||||||
@% {host, "msn.crans.org", [{password, "RK8cx4f03"}]}
|
|
||||||
@% ]},
|
|
||||||
@
|
@
|
||||||
@ %% Yahoo! Transport
|
@ %% Yahoo! Transport
|
||||||
@ {5558, ejabberd_service, [
|
@ {5558, ejabberd_service, [
|
||||||
|
@ -283,10 +277,7 @@ else:
|
||||||
@{auth_method, ldap}.
|
@{auth_method, ldap}.
|
||||||
@%%
|
@%%
|
||||||
@%% List of LDAP servers:
|
@%% List of LDAP servers:
|
||||||
if has("external"):
|
@{ldap_servers, ["ldap.adm.crans.org"]}.
|
||||||
@{ldap_servers, ["localhost"]}.
|
|
||||||
else:
|
|
||||||
@{ldap_servers, ["ldap.adm.crans.org"]}.
|
|
||||||
@%%
|
@%%
|
||||||
@%% Encryption of connection to LDAP servers (LDAPS):
|
@%% Encryption of connection to LDAP servers (LDAPS):
|
||||||
@%%{ldap_encrypt, tls}.
|
@%%{ldap_encrypt, tls}.
|
||||||
|
@ -486,12 +477,11 @@ else:
|
||||||
@ {mod_ctlextra, []},
|
@ {mod_ctlextra, []},
|
||||||
@ {mod_disco, [
|
@ {mod_disco, [
|
||||||
@ {extra_domains, ["icq.crans.org",
|
@ {extra_domains, ["icq.crans.org",
|
||||||
@ "msn.crans.org"
|
@ "msn2.crans.org"
|
||||||
@ ]}]},
|
@ ]}]},
|
||||||
@ %%{mod_echo, [{host, "echo.localhost"}]},
|
@ %%{mod_echo, [{host, "echo.localhost"}]},
|
||||||
if not has("external"):
|
@ % À mettre seulement sur un serveur
|
||||||
@ % À mettre seulement sur un serveur
|
@ {mod_irc, []},
|
||||||
@ {mod_irc, []},
|
|
||||||
@ {mod_last, []},
|
@ {mod_last, []},
|
||||||
@ {mod_muc, [
|
@ {mod_muc, [
|
||||||
@ %%{host, "conference.@HOST@"},
|
@ %%{host, "conference.@HOST@"},
|
||||||
|
@ -505,12 +495,11 @@ if not has("external"):
|
||||||
@ {mod_offline, []},
|
@ {mod_offline, []},
|
||||||
@ {mod_privacy, []},
|
@ {mod_privacy, []},
|
||||||
@ {mod_private, []},
|
@ {mod_private, []},
|
||||||
if not has("external"):
|
@ % À mettre seulement sur un serveur
|
||||||
@ % À mettre seulement sur un serveur
|
@ {mod_proxy65, [
|
||||||
@ {mod_proxy65, [
|
@ {access, local},
|
||||||
@ {access, local},
|
@ {shaper, c2s_shaper}
|
||||||
@ {shaper, c2s_shaper}
|
@ ]},
|
||||||
@ ]},
|
|
||||||
@ {mod_pubsub, [ % requires mod_caps
|
@ {mod_pubsub, [ % requires mod_caps
|
||||||
@ {access_createnode, pubsub_createnode},
|
@ {access_createnode, pubsub_createnode},
|
||||||
@ {plugins, ["default", "pep"]}
|
@ {plugins, ["default", "pep"]}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue