[ejabberd] mod_offline configuration

Badlop badlop at gmail.com
Fri Nov 12 23:58:27 MSK 2010

2010/11/12 Martin Wišo <tajgur at gmail.com>:
>        I am looking for configuration options for mod_offline but found
> only basic information. Is there any way how to setup offline message
> expiration time limit? I want to expire all offline messages older for
> example 5 days. Is it possible without writing custom module?

You can use the delete_old_messages ejabberd command. Example usage:
ejabberdctl delete_old_messages 5

You can setup a cron task to run this weekly.


More information about the ejabberd mailing list