Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Storing messages in ejabberd

I am trying to setup simple XMPP server (ejabberd) which will save messages exchanged by users in MySql database.

This really seems like a basic stuff for a chat server.

Does anyone have any experience or documentation on how to setup message storing?

I am using ejabberd 15.04

like image 914
rastko Avatar asked Sep 02 '25 04:09

rastko


1 Answers

As mentioned in ejabberd forums, ejabberd since version 15.06 supports Message Archive Management (MAM) with both Mnesia and relational database storage (MySQL, Postgres).

You can upgrade to ejabberd 15.06 to benefit from that feature.

like image 121
Mickaël Rémond Avatar answered Sep 05 '25 00:09

Mickaël Rémond