Re: [jdev] jabber aliases?

2006-06-19 Thread Trejkaz
On Monday 19 June 2006 17:08, Igor Goryachev wrote:
 Hello.

 I have several domains and want to implement something similar to
 mail-like aliases (not virtual hosts) in jabber? Is it possible at
 all?

It would be quite possible to implement, but I'm not familiar with a server 
which offers this functionality out of the box.  Then again this is jdev, so 
the first answer is probably the one you want.  Yes, it can be done. :-)

TX


-- 
 Email: [EMAIL PROTECTED]
 Jabber ID: [EMAIL PROTECTED]
  Web site: http://trypticon.org/
   GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73


pgpAyLD0Rz2JC.pgp
Description: PGP signature


Re: [jdev] jabber aliases?

2006-06-19 Thread Igor Goryachev
On 19 Jun 2006, [EMAIL PROTECTED] wrote:

 I have several domains and want to implement something similar to
 mail-like aliases (not virtual hosts) in jabber? Is it possible at
 all?
 It would be quite possible to implement, but I'm not familiar with a
 server which offers this functionality out of the box.  Then again
 this is jdev, so the first answer is probably the one you want.  Yes,
 it can be done. :-)

I want to implement this routine myself (I'm having a hacking fun mainly
with ejabberd) and would like to hear suggestions of any sort about how
this feature should be implemented.


-- 
Igor Goryachev  E-Mail/Jabber: [EMAIL PROTECTED]


Re: [jdev] jabber aliases?

2006-06-19 Thread Igor Goryachev
On 19 Jun 2006, Igor Goryachev wrote:

 I have several domains and want to implement something similar to
 mail-like aliases (not virtual hosts) in jabber? Is it possible at
 all?
 It would be quite possible to implement, but I'm not familiar with a
 server which offers this functionality out of the box.  Then again
 this is jdev, so the first answer is probably the one you want.  Yes,
 it can be done. :-)

 I want to implement this routine myself (I'm having a hacking fun
 mainly with ejabberd) and would like to hear suggestions of any sort
 about how this feature should be implemented.

Well, it primarily means that the user should have several equitable
jabber-accounts on each domain with one roster, vCARD, offline storage
spool and other things. The service should be with s2s enabled.


-- 
Igor Goryachev  E-Mail/Jabber: [EMAIL PROTECTED]


Re: [jdev] jabber aliases?

2006-06-19 Thread Trejkaz
On Monday 19 June 2006 21:37, Tony Finch wrote:
 On Mon, 19 Jun 2006, Igor Goryachev wrote:
  I have several domains and want to implement something similar to
  mail-like aliases (not virtual hosts) in jabber? Is it possible at
  all?

 Forwarding is difficult in Jabber because it is closed-loop whereas email
 is open-loop. Consider what happens if I send a presence subscription
 request to an alias JID, and get a response from the real JID. Will my
 client behave sensibly?

I'm not convinced that you would want to forward presence.  To get something 
similar to mail aliases, you only need to forward messages.  IQs also, make 
little sense.  If you want that kind of functionality the best way to go 
about it is probably to write a jabber-to-jabber transport.

TX


-- 
 Email: [EMAIL PROTECTED]
 Jabber ID: [EMAIL PROTECTED]
  Web site: http://trypticon.org/
   GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73


pgpgC6p0B4QNx.pgp
Description: PGP signature


Re: [jdev] jabber aliases?

2006-06-19 Thread Igor Goryachev
On 19 Jun 2006, Tony Finch wrote:

 I have several domains and want to implement something similar to
 mail-like aliases (not virtual hosts) in jabber? Is it possible at
 all?

 Forwarding is difficult in Jabber because it is closed-loop whereas
 email is open-loop.

Could you please explain this moment a bit wider? It might be important
for me.


 Consider what happens if I send a presence subscription request to an
 alias JID, and get a response from the real JID. Will my client behave
 sensibly?

Well, I suppose you will just have a dead JID in your roster (with
subscription none) in addition to the real JID.


-- 
Igor Goryachev  E-Mail/Jabber: [EMAIL PROTECTED]


Re: [jdev] jabber aliases?

2006-06-19 Thread Bruce Campbell

On Mon, 19 Jun 2006, Igor Goryachev wrote:


On 19 Jun 2006, Tony Finch wrote:


Consider what happens if I send a presence subscription request to an
alias JID, and get a response from the real JID. Will my client behave
sensibly?


Well, I suppose you will just have a dead JID in your roster (with
subscription none) in addition to the real JID.


RFC3921 #8.2 step #8 explicitly states that the original server should 
silently drop the request in such a situation.  Eg:


[EMAIL PROTECTED] ---subscribe---  [EMAIL PROTECTED]

  This by way of aliasing gets resent to [EMAIL PROTECTED] .

  You then approve Tony's subscription:

[EMAIL PROTECTED] ---subscribed---  [EMAIL PROTECTED]

  However, [EMAIL PROTECTED]'s internal roster has no knowledge of
  [EMAIL PROTECTED] (ie, it asked Igor.Goryachev, not Igor), and
  thus Tony's server immediately drops the packet without passing it
  to Tony's client.

--
  Bruce Campbell


Re: [jdev] jabber aliases?

2006-06-19 Thread Tony Finch
On Mon, 19 Jun 2006, Igor Goryachev wrote:

 Could you please explain this moment a bit wider? It might be important
 for me.

It's from control theory. In an open loop control system I just send the
system messages to tell it how to behave, whereas in a closed loop system
I get messages back so I can check that it's doing what I want. Think of
the difference between a simple mixer tap and a thermostatic mixer.

Open loop:

  ++  +-+
  | Me | --- message --- | You |
  ++  +-+

Closed loop:

  ++ --- subscription from --- +-+
  | Me || You |
  ++  subscribed to -- +-+

Tony.
-- 
f.a.n.finch  [EMAIL PROTECTED]  http://dotat.at/
RATTRAY HEAD TO BERWICK ON TWEED: SOUTHWEST 4 OR 5, DECREASING 3 IN NORTH.
RAIN DYING OUT. MODERATE OR GOOD. SLIGHT, OCCASIONALLY MODERATE LATER.


Re: [jdev] jabber aliases?

2006-06-19 Thread Sander Devrieze
Op maandag 19 juni 2006 12:23, schreef Igor Goryachev:
 On 19 Jun 2006, Igor Goryachev wrote:
  I have several domains and want to implement something similar to
  mail-like aliases (not virtual hosts) in jabber? Is it possible at
  all?
 
  It would be quite possible to implement, but I'm not familiar with a
  server which offers this functionality out of the box.  Then again
  this is jdev, so the first answer is probably the one you want.  Yes,
  it can be done. :-)
 
  I want to implement this routine myself (I'm having a hacking fun
  mainly with ejabberd) and would like to hear suggestions of any sort
  about how this feature should be implemented.

 Well, it primarily means that the user should have several equitable
 jabber-accounts on each domain with one roster, vCARD, offline storage
 spool and other things. The service should be with s2s enabled.

What about a Jabber2Jabber transport?

-- 
Mvg, Sander Devrieze.

xmpp:[EMAIL PROTECTED] ( http://jabber.tk/ )


Re: [jdev] jabber aliases?

2006-06-19 Thread Joel Selvadurai
That is a good point! Then you can have multiple jabber accounts (1 for each transport) in use on 1 account!
On 6/19/06, Sander Devrieze [EMAIL PROTECTED] wrote:
Op maandag 19 juni 2006 12:23, schreef Igor Goryachev: On 19 Jun 2006, Igor Goryachev wrote:  I have several domains and want to implement something similar to
  mail-like aliases (not virtual hosts) in jabber? Is it possible at  all?   It would be quite possible to implement, but I'm not familiar with a
  server which offers this functionality out of the box.Then again  this is jdev, so the first answer is probably the one you want.Yes,  it can be done. :-) 
  I want to implement this routine myself (I'm having a hacking fun  mainly with ejabberd) and would like to hear suggestions of any sort  about how this feature should be implemented.
 Well, it primarily means that the user should have several equitable jabber-accounts on each domain with one roster, vCARD, offline storage spool and other things. The service should be with s2s enabled.
What about a Jabber2Jabber transport?--Mvg, Sander Devrieze.xmpp:[EMAIL PROTECTED] ( http://jabber.tk/
 )


Re: [jdev] jabber aliases?

2006-06-19 Thread Joel Selvadurai
but it's not pure forwarding? 
On 6/19/06, Sander Devrieze [EMAIL PROTECTED] wrote:
Op maandag 19 juni 2006 12:23, schreef Igor Goryachev: On 19 Jun 2006, Igor Goryachev wrote:  I have several domains and want to implement something similar to
  mail-like aliases (not virtual hosts) in jabber? Is it possible at  all?   It would be quite possible to implement, but I'm not familiar with a
  server which offers this functionality out of the box.Then again  this is jdev, so the first answer is probably the one you want.Yes,  it can be done. :-) 
  I want to implement this routine myself (I'm having a hacking fun  mainly with ejabberd) and would like to hear suggestions of any sort  about how this feature should be implemented.
 Well, it primarily means that the user should have several equitable jabber-accounts on each domain with one roster, vCARD, offline storage spool and other things. The service should be with s2s enabled.
What about a Jabber2Jabber transport?--Mvg, Sander Devrieze.xmpp:[EMAIL PROTECTED] ( http://jabber.tk/
 )