Wednesday, November 6, 2013

Jabber / XMPP server with Debian 6

Here a small HowTo for a Jabber/XMPP server using Debian 6.0 Squeeze:

First i install the jabber-server with aptitude.
aptitude install ejabberd

After this i edit the config file:

/etc/ejabberd/ejabberd.conf



and modified this entries:

{hosts, [”domain”]}.
{acl, admin, {user, “adminuser”, “domain”}}.


For domain i use the ip-adress of the server. Because the server is
behing a router, i use the permanent internet-ip adress and not the local one. The local ip-adress would not work after a router.
The username for adminuser you can choose whatever you want.
Then i restart the daemon:

/etc/init.d/ejabberd restart


The user i added with this command:

ejabberdctl register username domain password

Here you replace username with the name you want, for domain i write the ip-adress of the server and password you can choose free.
Important is that you must add the admin account (you added in the config file) too.

After this i restart the daemon again.
At the router i create a port-forwarding for this ports:
5222, 5223

Tuesday, November 5, 2013

TLS not available due to temporary reason

During sending emails with thunderbird on a windows pc this error message appears:

TLS not available due to temporary reason




The Error appears, if a antivirus-programm is installed and try's to scan the message before sending.
After disable this function, the sending works without error.