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
4 %%% ejabberd configuration file
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
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
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<"}]}]},
31 {5280, ejabberd_http, [
35 %% All users are allowed to use MUC service:
36 {access, muc, [{allow, all}]}.
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}]}.
45 %% Everybody can create pubsub nodes
46 {access, pubsub_createnode, [{allow, all}]}.