2

Deactivating an ejabberd vhost is easy. In the simplest case, just remove the entry from the hosts section in /etc/ejabberd/ejabberd.yml.

I presume this does not delete any information about the users related to that host:

  • Username
  • Password (if not taken from LDAP or similar)
  • vcard
  • Roster
  • Offline Messages
  • MAM Archive

and probably a few things more still remain in the Mnesia database.

How can I get rid of this information for an entire vhost?

1 Answers1

2

With a command like this:

$ ejabberdctl delete_old_users_vhost localhost 0
Deleted 2 users: [{<<"hag66">>,<<"localhost">>},
  {<<"user1">>,<<"localhost">>}]
Badlop
  • 670