ejabberd

ejabberd is a Free and Open Source distributed fault-tolerant Jabber server. It's mostly written in Erlang, and works on many platforms (tested on Linux, FreeBSD, NetBSD and Windows NT/2000/XP).