Another servers restriction

I have to restrict connections with another server.
I want, for example
people from my server CAN chat with username@gmail.com and CAN't chat with username@jabber.ru
How I can do it?

Not possible in ejabberd 2.0.x. Maybe with mod_filter

Zebar wrote:

I have to restrict connections with another server.
I want, for example
people from my server CAN chat with username@gmail.com and CAN't chat with username@jabber.ru
How I can do it?

In ejabberd 2.0.x and newer the only you can do is restrict at server-level:

{s2s_default_policy, allow}.
{{s2s_host, gmail.com}, allow}.
{{s2s_host, jabber.ru}, deny}.

Check the ejabberd Guide for description of those options.

To enforce restrictions at user-level, maybe mod_filter allows you to do that.

Syndicate content