Erlang/OTP Forums

Author Message

<  Ejabberd mailing list  ~  Restrict ICQ Transport for special users

Guest
Posted: Wed Feb 28, 2007 6:30 pm Reply with quote
Guest
Guest
Posted: Wed Feb 28, 2007 11:39 pm Reply with quote
Guest
Hi Vitaliy,

I think it should work like this:

{acl, icqpeople, {user, "sirsydom", "comefrom.de"}}.
{access, icq, [{allow,icqpeople}]}.

% Jabber ICQ Transport
{5555, ejabberd_service, [{ip, {127, 0, 0, 1}},
{access, icq},
{hosts, ["icq.comefrom.de"], [{password, "idonottell"}]}]}

Or what you propably want:

% This rule allows access only for local users:
{access, local, [{allow, local}]}.

% Jabber ICQ Transport
{5555, ejabberd_service, [{ip, {127, 0, 0, 1}},
{access, local},
{hosts, ["icq.comefrom.de"], [{password, "idonottell"}]}]}


Its only a wild guess, but from what I can see in my config, the acl for the
mod_addounce is configured in that way.

hth
er4z0r

Am Mittwoch, 28. Februar 2007 19:32 schrieb Vitaliy Okulov:
>

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum