problem with ejabberd 2

I use ejabberd 2. I have a lot of problems and questions:
1) How to increase the number of participants from 200 to 500?
2) I am unable to dispatch on jabber , how to configure in ejabberd 2
3) How to prevent to register with Russian characters

1) Use the option max_users

1) Use the option max_users in your ejabberd configuration file. Look in the Guide for examples.

2) Sorry, I don't understand the question.

3) Try something like this. It will allow only to register usernames with characters between a-z, and numbers:

In ejabberd 3:

acl:
  ascii:
     user_regexp: "^[a-z0-9]*$"

access:
  register:
    ascii: allow
    all: deny

In ejabberd 2:

{acl, ascii, {user_regexp, "^[a-z0-9]*$"}}.
{access, register, [{allow, ascii}, {deny, all}]}.
Syndicate content