Stop users sending messages

Hi,

I am considering using ejabberd as a notification system for a project I'm working on, it looks perfect for the job, the only thing I would like to do that I haven't found already is prevent users from sending messages, only receive them. Is this possible?

Thanks

You can download and install

You can download and install mod_filter. Then configure in a way similar to Example 1.

Maybe in your case you prefer to have one account called "notifier" used by a bot, that can send to everybody else, and everybody else that can only send messages to that notifier (for asking help from the bot...).

You can additionally enable and configure mod_shared_roster so that everybody has notifier in his roster.

Thanks! That's exactly what

Thanks! That's exactly what I'm looking for, I think a "deny all" rule would be fine for my use as I'm using mod_rest to send messages to connected users from a separate application.

Syndicate content