What should be error when XMPP stanza is not delivered to domain/server?

I am using ejabberd 16.09 as ejabberd server.

If after authentication from XMPP client, client try to send stanza to domain which xmpp server(ejabberd) don't know then what should be the behavior from XMPP server ?Example:

Message stanza

<message id='F437C672-D438-4BD3-9BFF-091050D32EE2' to='t1@conference11.example.com' type='groupchat'> <subject>Fire Burn and Cauldron Bubble!</subject> </message>

In above example, message is sent to service "conference11.example.com" which is not configured in ejabberd.As of now i am not receiving any response from server.Server is dropping the packet.

Is it ideal behavior ?

 

In

In https://tools.ietf.org/html/rfc6120#section-8.3.3.16 it is described what kind of error it can return. But I didn't find anywhere in what cases tat error can or must be returned.

Syndicate content