aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd.cfg
blob: 8724fea6a8b56dac33e1c0af30f7fef4683e0726 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
% $Id$

{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_glob, "test.*"}}.
%{acl, test2, {user_glob, "test*"}}.


{access, disco_admin, [{allow, admin},
                       {deny, all}]}.

{access, configure, [{allow, admin}]}.

{access, c2s, [{deny, blocked},
	       {allow, all}]}.

{host, "e.localhost"}.

{listen, [{5522, ejabberd_c2s,     start, [{access, c2s}]},
          {5269, ejabberd_s2s_in,  start, []},
          {8888, ejabberd_service, start,
	   [{host, "asd.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.e.localhost"}]},
           {mod_private,   []},
           {mod_time,      [{iqdisc, no_queue}]},
           {mod_version,   []}
          ]}.




% Local Variables:
% mode: erlang
% End: