Ejabberd

Installation
Adding various modules through USE flags will trigger things like:, , , etc. to be installed with ejabberd.

Files
In put:

And:

Where foo.bar is what is required for the accounts, like bob@foo.bar (so the server should be available at foo.bar. If not, clientside configuration needs extra server parameter).

In put:

So the node will be called ejabberd@süpercomputer while süpercomputer is the one configured in If this is changed, remember to issue:

OpenRC
Then start:

Then create users:

For example:

Set up a jabber server using ejabberd
This often fails at first try, because the whole ejabberd-erlang-mnesia thing can be really picky sometimes. So, one hint may be to not initialize/start/test anything until the final hostname selections are in every config file. Changing hostname afterwards can cause problems, at least before becoming familiar with the above mentioned tools.

Second hint: If errors are encountered when restarting here, Erlang nodes might have to be stopped, which unfortunately are not called 'erlang' or something, but 'beam', so this might be found useful: