Jabberd2

From ArchWiki
Jump to: navigation, search

jabberd2 is an XMPP server, written in the C language and licensed as Free software under the GNU General Public License. It was inspired by jabberd14.

Installation

Install the jabberd2AUR[broken link: archived in aur-mirror] package from the AUR,

Configuration

Edit /etc/jabberd/c2s.xml and look for the line starting with <id register-enable='mu'> and edit to have your domain.

Example:

/etc/jabberd/c2s.xml
<id register-enable='mu'>mymachine.com</id>

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 user@mymachine.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.

The register-enable='mu' part, allows the registration of accounts, using a standard jabber client.

Also set your server on sm.xml:

/etc/jabberd/sm.xml
<id>mymachine.com</id>

Daemon

Configure the jabberd.service to start on boot.

Read Daemons for more information.

See also