How to deny users from my server log in to room sharefiles@conference.realan.ru

Tell me please, what am I do wrong?

I trying to deny to users from my server to login to room on another server. I added so strings to config:

% ShareFiles room
{acl, sharefiles, {user, "sharefiles", "conference.jabber.ru"}}.

%Deny to logon to sharefiles room
{access,sharefiles,[{deny,sharefiles}]}.

but it doesn`t work!
what am I do wrong?

ACLs only work locally. So

ACLs only work locally. So that will not work.

--
sander

mod_filter

mod_filter can do that. Install it and update your configuration.

I think this configuration should do what you want:

{access, mod_filter, [{restrict_local, local},
                      {allow, all}]}.
{access, restrict_local, [{deny, sharefiles},
                          {allow, all}]}.
Syndicate content