I am new to ejabberd administration and am trying to figure out if ejabberd supports message archiving. I have found several references that seem to indicate that the mod_archive module does so. However, it is not clear to me how to configure ejabberd to actually use this module and perform message archiving. Any help would be appreciated.
mod_archive and related
mod_archive and related modules are old and do not work in recent ejabberd versions:
https://github.com/processone/ejabberd-contrib/tree/master/mod_archive
There are other modules that log messages in several ways:
https://github.com/processone/ejabberd-contrib
And finally, there's mod_mam that stores messages for the users:
https://docs.ejabberd.im/admin/guide/configuration/#modmam