[ejabberd] Restrict ICQ Transport for special users

Tilman Bender tbender at stud.hs-heilbronn.de
Thu Mar 1 02:41:53 MSK 2007


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:
> Здравствуйте, ejabberd.
>
> I want to restrict the usage of my icq-transport to specific users so that
> not everyone all over the world can use my icq transport. But how do i
> achive this?
>
> http://ejabberd.jabber.ru/node/1321 - forum link.

-- 
Tilman Bender   | tbender at stud.hs-heilbronn.de
HS Heilbronn    | Linuxpool


More information about the ejabberd mailing list