Copyright (C) 2008-2021 Oliver Bohlen.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU Free Documentation License".
This documentation comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
In times of blackboxed/centralized/clouded "Instand Messagig" services with possibly bad security/encryption like WhatsApp & co. I would like to use my own Instand Messaging Service with data hold encrypted on my own Server. Here is the way I do it.
As an snartphone app for this service I suggest the App called "Conversations"
If you want to use this solution you need the following howto(s) finished:
emerge net-im/ejabberd
File permissions:
Owner: root
Group: jabber
Permissions: -rw-r-----
Click here for a download of the complete file: /etc/jabber/ejabberd.yml
Changed on 09.11.15The Hostname(s) of the Server
- localhostAfter change
- "example.com"
SSL-Encryption Chat Clients
- /etc/ssl/ejabberd/server.pemAfter change
- /etc/ssl/example.com/example.com.pem
Listen ipv4
ip: "::"After change
ip: "0.0.0.0"
SSL-Encryption Chat Clients
starttls: true
Listen ipv4
ip: "::"After change
ip: "0.0.0.0"
Listen ipv4
ip: "::"After change
ip: "0.0.0.0"
Listen ipv4
ip: "::"After change
ip: "0.0.0.0"
Listen ipv4
ip: "::"After change
ip: "0.0.0.0"
SSL-Encryption other Jabber Servers
s2s_use_starttls: optionalAfter change
s2s_use_starttls: required
The Admin-User
auth_method: internalAfter change
auth_method: pam pam_service: "system-auth" pam_userinfotype: "username"
The Admin-User
admin: user: - "admin": "example.com"
For starting the new service after system reboot you should add it to a runlevel with the following command(s):
rc-update add ejabberd default
Please send a feedback to: doc<at>gabosh.net
Howto listingHere you can find the official Gentoo Linux Forums where you can find a lot of answers.
Here a link to the official Gentoo Linux Homepage.