aboutsummaryrefslogblamecommitdiff
path: root/examples/mtr/ejabberd.cfg
blob: b1023ee0e6ab9d102b78ae8ab01747dac3609a44 (plain) (tree)
1
2
3
4
5
6
7
                         
 
              
 
                                                         
 
 
































                                                                                   
 











                                                                     

                               

                               




                              


                  
% jabber.dbc.mtview.ca.us

override_acls.

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


{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_muc,       []},
           {mod_pubsub,    []},
           {mod_time,      []},
           {mod_last,      []},
           {mod_version,   []}
          ]}.



% Local Variables:
% mode: erlang
% End: