[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 @ %% 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,9 +277,6 @@ else:
@{auth_method, ldap}. @{auth_method, ldap}.
@%% @%%
@%% List of LDAP servers: @%% 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): @%% Encryption of connection to LDAP servers (LDAPS):
@ -486,10 +477,9 @@ 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, []},
@ -505,7 +495,6 @@ 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},