ejabberd - Comments for "problem with ejabberd 2" https://www.ejabberd.im/forum/25332/problem-ejabberd-2 en 1) Use the option max_users https://www.ejabberd.im/forum/25332/problem-ejabberd-2#comment-66524 <p>1) Use the option max_users in your ejabberd configuration file. Look in the Guide for examples.</p> <p>2) Sorry, I don't understand the question.</p> <p>3) Try something like this. It will allow only to register usernames with characters between a-z, and numbers:</p> <p>In ejabberd 3:</p> <pre> acl: ascii: user_regexp: "^[a-z0-9]*$" access: register: ascii: allow all: deny </pre><p> In ejabberd 2:</p> <pre> {acl, ascii, {user_regexp, "^[a-z0-9]*$"}}. {access, register, [{allow, ascii}, {deny, all}]}. </pre> Wed, 20 Jan 2016 10:53:10 +0000 badlop comment 66524 at https://www.ejabberd.im