]> git.pld-linux.org Git - packages/ejabberd.git/blame - ejabberd-config.patch
- fix logdb bcond
[packages/ejabberd.git] / ejabberd-config.patch
CommitLineData
0e757c06
JK
1--- ejabberd-2.0.0/src/ejabberd.cfg.example.orig 2008-02-21 11:02:12.000000000 +0100
2+++ ejabberd-2.0.0/src/ejabberd.cfg.example 2008-02-22 14:57:55.000000000 +0100
3@@ -2,6 +2,12 @@
4 %%% ejabberd configuration file
5 %%%
6
7+%%% This is a setup for working "localhost" server.
8+%%% To make fully functional world-accessible Jabber server you will need to:
9+%%% - change 'localhost' everywhere below to your desired Jabber server domain name
10+%%% - provide SSL certificates and uncomment ssl settings
11+%%% - modify everything else according to your needs
0e77a2e3 12+
0e757c06
JK
13 %%% The parameters used in this configuration file are explained in more detail
14 %%% in the ejabberd Installation and Operation Guide.
15 %%% Please consult the Guide in case of doubts, it is included in
16@@ -138,14 +144,16 @@
17 %%
18 %% ejabberd_service: Interact with external components (transports...)
19 %%
20- %%{8888, ejabberd_service, [
21- %% {access, all},
22- %% {shaper_rule, fast},
23- %% {ip, {127, 0, 0, 1}},
24- %% {hosts, ["icq.example.org", "sms.example.org"],
25- %% [{password, "secret"}]
26- %% }
27- %% ]},
28+ %%To enable more than one you _must_ change port numbers (here and in service's config)
29+ %% {5347, ejabberd_service, [{access, all},
30+ %% {hosts, ["icq.localhost", "sms.localhost"],
31+ %% [{password, ">secret<"}]}]},
32+ %% {5347, ejabberd_service, [{access, all},
33+ %% {host, "gg.localhost",
34+ %% [{password, ">secret<"}]}]},
35+ %% {5347, ejabberd_service, [{access, all},
36+ %% {hosts, ["ircnet.localhost", "freenode.localhost"],
37+ %% [{password, ">secret<"}]}]},
38
39 {5280, ejabberd_http, [
40 http_poll,
e2a62f83 41@@ -391,9 +391,9 @@
0e757c06
JK
42 %% All users are allowed to use MUC service:
43 {access, muc, [{allow, all}]}.
44
e2a62f83 45-%% In-band registration allows registration of any possible username.
0e757c06 46-%% To disable in-band registration, replace 'allow' with 'deny'.
0e77a2e3 47-{access, register, [{allow, all}]}.
e2a62f83
AM
48+%% In-band registration disabled.
49+%% To enable in-band registration, replace 'deny' with 'allow'.
62583bb3 50+{access, register, [{deny, all}]}.
0e77a2e3 51
0e757c06
JK
52 %% Everybody can create pubsub nodes
53 {access, pubsub_createnode, [{allow, all}]}.
This page took 0.067359 seconds and 4 git commands to generate.