]> git.pld-linux.org Git - packages/ejabberd.git/blob - ejabberd-config.patch
- up to 2.1.2 (bugfixes)
[packages/ejabberd.git] / ejabberd-config.patch
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
12 +
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 @@ -155,6 +155,17 @@
17    %%                       }
18    %%                      ]},
19  
20 +  %%To enable more than one you _must_ change port numbers (here and in service's config)
21 +  %% {5347, ejabberd_service, [{access, all},
22 +  %%                    {hosts, ["icq.localhost", "sms.localhost"],
23 +  %%                    [{password, ">secret<"}]}]},
24 +  %% {5347, ejabberd_service, [{access, all},
25 +  %%                    {host, "gg.localhost",
26 +  %%                    [{password, ">secret<"}]}]},
27 +  %% {5347, ejabberd_service, [{access, all},
28 +  %%                    {hosts, ["ircnet.localhost", "freenode.localhost"],
29 +  %%                     [{password, ">secret<"}]}]},
30 +
31    {5280, ejabberd_http, [
32                          %%{request_handlers,
33                          %% [
34 @@ -391,9 +391,9 @@
35  %% All users are allowed to use MUC service:
36  {access, muc, [{allow, all}]}.
37  
38 -%% In-band registration allows registration of any possible username.
39 -%% To disable in-band registration, replace 'allow' with 'deny'.
40 -{access, register, [{allow, all}]}.
41 +%% In-band registration disabled.
42 +%% To enable  in-band registration, replace 'deny' with 'allow'.
43 +{access, register, [{deny, all}]}.
44  
45  %% Everybody can create pubsub nodes
46  {access, pubsub_createnode, [{allow, all}]}.
This page took 0.025198 seconds and 3 git commands to generate.