diff --git a/Python/etc/ejabberd/ejabberd.cfg b/Python/etc/ejabberd/ejabberd.cfg index 06c41cb..321b0c1 100644 --- a/Python/etc/ejabberd/ejabberd.cfg +++ b/Python/etc/ejabberd/ejabberd.cfg @@ -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"]}