Extensible Messaging and Presence Protocol (XMPP) is an open-standard communications protocol for message-oriented middleware based on XML (Extensible Markup Language). The protocol was originally named Jabber, and was developed by the Jabber open-source community in 1999 for near-real-time, extensible instant messaging (IM), presence information, and contact list maintenance.
Install the package jabberd2 from the aur.
c2s.xml and look for the line:
Change it to set your server. That is the line that will be added to your users id. (If you put there mymachine.com, your users id will be something like email@example.com) If the jabber service is going to be accesible over open internet (instead of a vpn or lan), then that name SHOULD be resolved by DNS to your server.
register-enable='mu' part, allows the registration of accounts, using a standard jabber client.
sm.xml and look for:
and again, set it to point to your server
Start the server with