diff options
author | Alexey Shchepin <alexey@process-one.net> | 2003-11-27 20:16:10 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2003-11-27 20:16:10 +0000 |
commit | b154f7552389315c13e942c07d75ecd1a0afb6a0 (patch) | |
tree | 1d33452335c46a55b6627f8f7c80876dd95ce079 /examples/mtr | |
parent | * src/ejabberd_c2s.erl: Fixed processing of presence probe from (diff) |
* examples/mtr/ejabberd.cfg: Updatted (thanks to Marshall T. Rose)
* src/ejabberd_auth.erl: LDAP attribute that holds user ID now
configurable
* src/ejabberd.cfg.example: Updated
SVN Revision: 178
Diffstat (limited to 'examples/mtr')
-rw-r--r-- | examples/mtr/ejabberd.cfg | 70 |
1 files changed, 36 insertions, 34 deletions
diff --git a/examples/mtr/ejabberd.cfg b/examples/mtr/ejabberd.cfg index 759810e85..6f4f4b284 100644 --- a/examples/mtr/ejabberd.cfg +++ b/examples/mtr/ejabberd.cfg @@ -1,42 +1,44 @@ -% $Id$ +% jabber.dbc.mtview.ca.us 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"}}. +{access, announce, [{allow, admin}, + {deny, all}]}. +{access, c2s, [{deny, blocked}, + {allow, all}]}. +{access, c2s_shaper, [{none, admin}, + {normal, all}]}. +{access, configure, [{allow, admin}, + {deny, all}]}. +{access, disco_admin, [{allow, admin}, + {deny, all}]}. +{access, muc_admin, [{allow, admin}, + {deny, all}]}. +{access, register, [{deny, all}]}. +{access, s2s_shaper, [{fast, all}]}. + + +{auth_method, internal}. +{host, "jabber.dbc.mtview.ca.us"}. +{outgoing_s2s_port, 5269}. +{shaper, normal, {maxrate, 1000}}. +{shaper, fast, {maxrate, 50000}}. +{welcome_message, none}. + + +{listen, [{5222, ejabberd_c2s, + [{access, c2s}, + {shaper, c2s_shaper}]}, + {5223, ejabberd_c2s, + [{access, c2s}, + {shaper, c2s_shaper}, + {ssl, [{certfile, "/etc/openssl/certs/ejabberd.pem"}]}]}, + {5269, ejabberd_s2s_in, + [{shaper, s2s_shaper}]}]}. -{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, []}, @@ -52,13 +54,13 @@ override_acls. % {mod_irc, []}, {mod_muc, []}, {mod_pubsub, []}, - {mod_time, [{iqdisc, no_queue}]}, + {mod_time, []}, + {mod_last, []}, {mod_version, []} ]}. - % Local Variables: % mode: erlang % End: |