[ejabberd] cleanup de la config

Ignore-this: db4197672155af33adcec36d8b26fea6

darcs-hash:20121103184240-8fbb1-dc0047306708fa011c706b69fdf0aa019a11beb9.gz
This commit is contained in:
Olivier Huber 2012-11-03 19:42:40 +01:00
parent 9f1cd9b720
commit 35adbd1e10

View file

@ -157,10 +157,7 @@ info["perms"] = 0640
@
@ %% Jabber ICQ Transport
@% {5555, ejabberd_service, [
if has("external"):
@% {ip, {127, 0, 0, 1}},
else:
@% {ip, {10, 231, 136, 8}}, % ip adm d'ovh
@% {ip, {127, 0, 0, 1}},
@% {access, all},
@% {shaper_rule, fast},
@% {hosts, ["icq.crans.org", "sms.crans.org"],
@ -176,15 +173,12 @@ else:
@% ]},
@
@ %% MSN Transport
@% {5557, ejabberd_service, [
if has("external"):
@% {ip, {127, 0, 0, 1}},
else:
@% {ip, {10, 231, 136, 8}}, % ip adm d'ovh
@% {access, all},
@% {shaper_rule, fast},
@% {host, "msn.crans.org", [{password, "RK8cx4f03"}]}
@% ]},
@ {5560, ejabberd_service, [
@ {ip, {127, 0, 0, 1}},
@ {access, all},
@ {shaper_rule, fast},
@ {host, "msn2.crans.org", [{password, "ZJ4SXSIiSOUPU"}]}
@ ]},
@
@ %% Yahoo! Transport
@ {5558, ejabberd_service, [
@ -283,10 +277,7 @@ else:
@{auth_method, ldap}.
@%%
@%% List of LDAP servers:
if has("external"):
@{ldap_servers, ["localhost"]}.
else:
@{ldap_servers, ["ldap.adm.crans.org"]}.
@{ldap_servers, ["ldap.adm.crans.org"]}.
@%%
@%% Encryption of connection to LDAP servers (LDAPS):
@%%{ldap_encrypt, tls}.
@ -486,12 +477,11 @@ else:
@ {mod_ctlextra, []},
@ {mod_disco, [
@ {extra_domains, ["icq.crans.org",
@ "msn.crans.org"
@ "msn2.crans.org"
@ ]}]},
@ %%{mod_echo, [{host, "echo.localhost"}]},
if not has("external"):
@ % À mettre seulement sur un serveur
@ {mod_irc, []},
@ % À mettre seulement sur un serveur
@ {mod_irc, []},
@ {mod_last, []},
@ {mod_muc, [
@ %%{host, "conference.@HOST@"},
@ -505,12 +495,11 @@ if not has("external"):
@ {mod_offline, []},
@ {mod_privacy, []},
@ {mod_private, []},
if not has("external"):
@ % À mettre seulement sur un serveur
@ {mod_proxy65, [
@ {access, local},
@ {shaper, c2s_shaper}
@ ]},
@ % À mettre seulement sur un serveur
@ {mod_proxy65, [
@ {access, local},
@ {shaper, c2s_shaper}
@ ]},
@ {mod_pubsub, [ % requires mod_caps
@ {access_createnode, pubsub_createnode},
@ {plugins, ["default", "pep"]}