1 diff -dur -x '*~' ejabberd-1.1.0.orig/src/ejabberd.cfg.example ejabberd-1.1.0/src/ejabberd.cfg.example
2 --- ejabberd-1.1.0.orig/src/ejabberd.cfg.example 2006-04-22 15:50:30.000000000 +0200
3 +++ ejabberd-1.1.0/src/ejabberd.cfg.example 2006-04-26 10:36:38.000000000 +0200
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
17 % Only admins can use configuration interface:
18 {access, configure, [{allow, admin}]}.
20 -% Every username can be registered via in-band registration:
21 -% You could replace {allow, all} with {deny, all} to prevent user from using
22 -% in-band registration
23 -{access, register, [{allow, all}]}.
24 +% In-band registration disabled, let the admin decide who will use his server
25 +% replace "deny, all" with "allow, all" to enable in-band registration
26 +{access, register, [{deny, all}]}.
28 % After successful registration user will get message with following subject
34 +% TSL disabled, enable _after_ providing the certificate
35 [{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper},
36 {max_stanza_size, 65536},
37 - starttls, {certfile, "./ssl.pem"}]},
38 - {5223, ejabberd_c2s, [{access, c2s},
39 - {max_stanza_size, 65536},
40 - tls, {certfile, "./ssl.pem"}]},
41 +% starttls, {certfile, "./ssl.pem"}
43 +% {5223, ejabberd_c2s, [{access, c2s},
44 +% {max_stanza_size, 65536},
45 +% tls, {certfile, "./ssl.pem"}]},
46 % Use these two lines instead if TLS support is not compiled
47 %{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper}]},
48 %{5223, ejabberd_c2s, [{access, c2s}, ssl, {certfile, "./ssl.pem"}]},
49 {5269, ejabberd_s2s_in, [{shaper, s2s_shaper},
50 {max_stanza_size, 131072}
52 - {5280, ejabberd_http, [http_poll, web_admin]},
53 - {8888, ejabberd_service, [{access, all},
54 - {hosts, ["icq.localhost", "sms.localhost"],
55 - [{password, "secret"}]}]}
57 +% To enable more than one you _must_ change port numbers (here and in service's config)
58 +% {5347, ejabberd_service, [{access, all},
59 +% {hosts, ["icq.localhost", "sms.localhost"],
60 +% [{password, ">secret<"}]}]},
61 +% {5347, ejabberd_service, [{access, all},
62 +% {host, "gg.localhost",
63 +% [{password, ">secret<"}]}]},
64 +% {5347, ejabberd_service, [{access, all},
65 +% {hosts, ["ircnet.localhost", "freenode.localhost"],
66 +% [{password, ">secret<"}]}]},
67 + {5280, ejabberd_http, [http_poll, web_admin]}
71 Only in ejabberd-1.1.0/src: ejabberd.cfg.example.orig
72 Only in ejabberd-1.1.0/src: ejabberd.cfg.example.rej