72 lines
1.6 KiB
INI
72 lines
1.6 KiB
INI
% $Id$
|
|
|
|
%override_acls.
|
|
|
|
{acl, admin, {user, "aleksey"}}.
|
|
{acl, admin, {user, "ermine"}}.
|
|
{acl, admin, {user, "test"}}.
|
|
{acl, admin, {user, "aleksey", "jabber.ru"}}.
|
|
{acl, admin, {user, "ermine", "jabber.ru"}}.
|
|
|
|
|
|
{acl, blocked, {user, "test2"}}.
|
|
|
|
{acl, jabberorg, {server, "jabber.org"}}.
|
|
{acl, aleksey, {user, "aleksey", "jabber.ru"}}.
|
|
|
|
%{acl, test, {user_regexp, "^test"}}.
|
|
%{acl, test2, {user_glob, "test*"}}.
|
|
|
|
|
|
{shaper, normal, {maxrate, 1000}}.
|
|
|
|
|
|
{access, disco_admin, [{allow, admin},
|
|
{deny, all}]}.
|
|
|
|
{access, configure, [{allow, admin}]}.
|
|
|
|
{access, c2s, [{deny, blocked},
|
|
{allow, all}]}.
|
|
|
|
|
|
{access, c2s_shaper, [{none, admin},
|
|
{normal, all}]}.
|
|
|
|
|
|
{host, "e.localhost"}.
|
|
|
|
{listen, [{5522, ejabberd_c2s, start, [{access, c2s},
|
|
{shaper, c2s_shaper}]},
|
|
%{5523, ejabberd_c2s, start,
|
|
% [{access, c2s}, {ssl, [{certfile, "./ssl.pem"}]}]},
|
|
{5269, ejabberd_s2s_in, start, []},
|
|
{8888, ejabberd_service, start,
|
|
[{host, "conference.e.localhost", [{password, "asdqwe"}]}]}
|
|
]}.
|
|
|
|
% This value (5569) is only for debugging, must be 5269
|
|
{outgoing_s2s_port, 5569}.
|
|
|
|
{modules, [
|
|
{mod_register, []},
|
|
{mod_roster, []},
|
|
{mod_configure, []},
|
|
{mod_disco, []},
|
|
{mod_stats, []},
|
|
{mod_vcard, []},
|
|
{mod_offline, []},
|
|
{mod_echo, [{host, "echo.localhost"}]},
|
|
{mod_private, []},
|
|
{mod_irc, []},
|
|
{mod_time, [{iqdisc, no_queue}]},
|
|
{mod_version, []}
|
|
]}.
|
|
|
|
|
|
|
|
|
|
% Local Variables:
|
|
% mode: erlang
|
|
% End:
|