ejabberd - Comments for "How to remove ca. 30K spam accounts?" https://www.ejabberd.im/node/3856 en solved https://www.ejabberd.im/node/3856#comment-55280 <p>I think mod_admin_extra plugin is for ejabberd build from svn (trunk) and they not working. So I was used mod_ctlextra and option delete-older-users. If someone not used my jabber serwer within 3 monts, then will not angry if they account was removed :)</p> <p>thanks</p> Tue, 09 Feb 2010 21:25:43 +0000 linuxpl comment 55280 at https://www.ejabberd.im re https://www.ejabberd.im/node/3856#comment-55279 <p>Thanks,<br /> I was try do this, but I have one problem. I was get modules from svn and try install module mod_admin_extra: ./build, copy mod_admin_extra.beam to /usr/lib/ejabberd/ebin/ and added {mod_admin_extra, []}, to config. After restart I don't have additional commands in ejabberdctl and log say: </p> <p>=ERROR REPORT==== 2010-02-09 19:47:19 ===<br /> E(&lt;0.1254.0&gt;:gen_mod:66) : {undef,<br /> [{ejabberd_commands,register_commands,<br /> [[{ejabberd_commands,compile,<br /> [erlang],<br /> "Recompile and reload Erlang source code file",<br /> [],mod_admin_extra,compile,<br /> [{file,string}],<br /> {res,rescode}},<br /> {ejabberd_commands,load_config,<br /> [server],<br /> "Load ejabberd configuration file",[],<br /> mod_admin_extra,load_config,<br /> [{file,string}],<br /> {res,rescode}},<br /> {ejabberd_commands,get_cookie,<br /> [erlang],<br /> "Get the Erlang cookie of this node",[],<br /> mod_admin_extra,get_cookie,[],<br /> {cookie,string}},<br /> {ejabberd_commands,remove_node,<br /> etc...</p> <p>What I'm doing wrong?</p> Tue, 09 Feb 2010 19:10:06 +0000 linuxpl comment 55279 at https://www.ejabberd.im A way to delete accounts https://www.ejabberd.im/node/3856#comment-55271 <p>A way to delete accounts programatically is in the shell: ejabberdctl delete_account. But that would be too slow for 30.000 accounts.</p> <p>A faster method can be to install mod_admin_extra, and call: ejabberdctl delete_old_users_vhost. This will "Delete users that didn't log in last days in vhost".</p> Tue, 09 Feb 2010 09:38:20 +0000 mfoss comment 55271 at https://www.ejabberd.im