[JDEV] Subscriptions to non-existent addresses

Emma Willis emma.willis at ntlworld.com
Mon Aug 5 11:50:00 CDT 2002

I am looking to do both - but mainly just test with users on my own
server... I will have a check to see if I gwet the presence packet (I
know the roster does change as you suggested).


-----Original Message-----
From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org] On Behalf Of
Jason Anderson
Sent: 05 August 2002 16:36
To: jdev at jabber.org
Subject: Re: [JDEV] Subscriptions to non-existent addresses


I don't know how to test if a JID exists, but maybe I can help on the 
mechanics of subscription.

Are you talking specifically about subscribing to a non-existent user on

a *different server* than yours, or do you also mean non-existent users 
on *your server*?

When you subscribe to a user at your local server who doesn't exist, the

server will
   -send you a roster change for that item with ask=subscribe
   -send you a presence packet with type=unavailable and status "Not

You don't receive any errors in this case, because it's all handled by 
the subscription mechanism through roster and presence packets.


emma.willis at ntlworld.com wrote:
> Please can someone tell me if there is any way of testing whether or 
> not an address actually exists before you add them to your roster, 
> using Jabberbeans.... I let my users add contacts but if the reciever 
> never gets their subscription request, the roster item (with an 
> ask=subscribe attribute) remains on their roster indefinitely.  I know

> an error is caused when the packet is bounced back to the server but I

> don't know if or where this is passed back to the jabberbeans 
> server-side stuff (highly technical term there).
> If anyone knows - please can you tell me.
> Emma
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> .

jdev mailing list
jdev at jabber.org

More information about the JDev mailing list