

Too bad that some very common XMPP clients like Pidgin (or anything else based on libpurple, probably) do not support MaM. ejabberd already supports some message archiving out-of-the-box by the modarchive module that is part of the ejabberd community scripts repository. Use a proper LDAP bind dn/password to query accounts Configure ejabberd. You may want to set these in mod_muc's default_room_options as well for all new rooms. Check out the lightweight on-premises email archiving software developed by. Additionally, ejabberd Business Edition (eBE) includes numerous high level features. Based on the eXtensible Messaging and Presence Protocol (XMPP), it incorporates a very large subset of XMPP Extension Protocols (XEPs). If you use other Operating System, place the file on the same directory where the.
#EJABBERD MESSAGE ARCHIVING ARCHIVE#
Then configure your chatrooms to use MaM: ejabberdctl change_room_option private allow_subscription trueĮjabberdctl change_room_option private mam trueĮjabberdctl change_room_option private persistent true An entity is able to query (subject to appropriate access rights) an archive for all messages within a certain timespan, optionally restricting results to those. ejabberd offers one of the most comprehensive feature sets of any instant messaging servers. pushroster: (and pushroster-all) The roster file must be placed, if using Windows, on the directory where you installed ejabberd: C:/Program Files/ejabberd or similar. First configure MaM in ejabberd.yml: mod_mam: This simplistic approach should work with any XMPP clients.Ī better way would be to use the Message Archiving module (mod_mam) as described in this blog post. The simplistic approach is to set history_size in mod_muc settings in ejabberd.yml to a higher value: mod_muc: Ejabberd does play back last 20 messages when user joins a room, but that is too little for an active chatroom.

When using ejabberd in a company for multi-user chat (see my earlier blog post) people will quickly start complaining that they missed discussions because they had been offline.
