Skip to content

Instantly share code, notes, and snippets.

@hiteshjoshi
Created March 8, 2013 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiteshjoshi/5117477 to your computer and use it in GitHub Desktop.
Save hiteshjoshi/5117477 to your computer and use it in GitHub Desktop.
my config
{auth_method, external}.
{extauth_program, "/home/hitesh/ejabberd_auth.php"}.
{host_config, "chat.nodyssey.com", [{auth_method, [external, anonymous]}]}.
{odbc_server, {mysql, "localhost","ejabberd", "root", "root"}}.
{shaper, normal, {maxrate, 1000}}.
{shaper, fast, {maxrate, 50000}}.
{max_fsm_queue, 1000}.
{acl, admin, {user, "admin", "chat.nodyssey.com"}}.
{acl, local, {user_regexp, ""}}.
{access, max_user_sessions, [{3, all}]}.
{access, max_user_offline_messages, [{5000, admin}, {100, all}]}.
{access, local, [{allow, local}]}.
{access, c2s, [{deny, blocked},
{allow, all}]}.
{access, c2s_shaper, [{none, admin},
{normal, all}]}.
{access, s2s_shaper, [{fast, all}]}.
{access, announce, [{allow, admin}]}.
{access, configure, [{allow, admin}]}.
{access, muc_admin, [{allow, admin}]}.
{access, muc_create, [{allow,all}]}.
{access, muc, [{allow, all}]}.
{access, pubsub_createnode, [{allow, local}]}.
{access, register, [{allow, all}]}.
{language, "en"}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment