-+% In-band registration disabled, let the admin decide who will use his server
-+{access, register, [{allow, none}]}.
-
- % After successful registration user will get message with following subject
- % and body:
-@@ -92,12 +99,25 @@
- % Listened ports:
- {listen,
- [{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper}]},
-- {5223, ejabberd_c2s, [{access, c2s}, ssl, {certfile, "./ssl.pem"}]},
-+
-+% SSL disabled, enable _after_ providing the certificate
-+% {5223, ejabberd_c2s, [{access, c2s}, ssl, {certfile, "./ssl.pem"}]},
-+
- {5269, ejabberd_s2s_in, [{shaper, s2s_shaper}]},
-- {5280, ejabberd_http, [http_poll, web_admin]},
-- {8888, ejabberd_service, [{access, all},
-- {hosts, ["icq.localhost", "sms.localhost"],
-- [{password, "secret"}]}]}
-+
-+% External services.
-+% To enable more than one you _must_ change port numbers (here and in service's config)
-+% {5347, ejabberd_service, [{access, all},
-+% {hosts, ["icq.localhost", "sms.localhost"],
-+% [{password, ">secret<"}]}]},
-+% {5347, ejabberd_service, [{access, all},
-+% {host, "gg.localhost",
-+% [{password, ">secret<"}]}]},
-+% {5347, ejabberd_service, [{access, all},
-+% {hosts, ["ircnet.localhost", "freenode.localhost"],
-+% [{password, ">secret<"}]}]},
-+
-+ {5280, ejabberd_http, [http_poll, web_admin]}
- ]}.
-
- % If SRV lookup fails, then port 5269 is used to communicate with remote server