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
18 %% ejabberd_service: Interact with external components (transports...)
20 - %%{8888, ejabberd_service, [
22 - %% {shaper_rule, fast},
23 - %% {ip, {127, 0, 0, 1}},
24 - %% {hosts, ["icq.example.org", "sms.example.org"],
25 - %% [{password, "secret"}]
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<"}]}]},
39 {5280, ejabberd_http, [
42 %% All users are allowed to use MUC service:
43 {access, muc, [{allow, all}]}.
45 -%% In-band registration allows registration of any possible username.
46 -%% To disable in-band registration, replace 'allow' with 'deny'.
47 -{access, register, [{allow, all}]}.
48 +%% In-band registration disabled.
49 +%% To enable in-band registration, replace 'deny' with 'allow'.
50 +{access, register, [{deny, all}]}.
52 %% Everybody can create pubsub nodes
53 {access, pubsub_createnode, [{allow, all}]}.