aboutsummaryrefslogtreecommitdiff
path: root/examples/mtr/ejabberd.cfg
blob: bda69e7de9d8f583b71b5097363fe93b148a3c61 (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
58
59
60
61
62
63
64
% $Id$

%override_acls.

{acl, admin, {user, "mrose", "jabber.dbc.mtview.ca.us"}}.

{acl, jabberorg, {server, "jabber.org"}}.
{acl, mrose, {user, "mrose", "jabber.dbc.mtview.ca.us"}}.


{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}]}.

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


{host, "jabber.dbc.mtview.ca.us"}.

{listen, [{5222, ejabberd_c2s,     [{access, c2s},
				    {shaper, c2s_shaper}]},
	  {5223, ejabberd_c2s,     [{access, c2s},
				    {ssl, [{certfile, "/etc/openssl/certs/ejabberd.pem"}]}]},
          {5269, ejabberd_s2s_in,  []}
         ]}.

% This value (5569) is only for debugging, must be 5269
{outgoing_s2s_port, 5269}.

{modules, [
           {mod_register,  []},
           {mod_roster,    []},
           {mod_privacy,   []},
           {mod_configure, []},
           {mod_disco,     []},
           {mod_stats,     []},
           {mod_vcard,     []},
           {mod_offline,   []},
           {mod_echo,      [{host, "echo.jabber.dbc.mtview.ca.us"}]},
           {mod_private,   []},
%          {mod_irc,       []},
           {mod_muc,       []},
           {mod_pubsub,    []},
           {mod_time,      [{iqdisc, no_queue}]},
           {mod_version,   []}
          ]}.




% Local Variables:
% mode: erlang
% End: