Add inexistant users

Hello,

In Psi, with our server ejabberd, we can add users that don't exist in our mysql database to a list of contacts of an existing user.

For example, we have the registered user adelina@server.com. Once we log in with this account, we can add to his list of contacts fdsfjdskl@server.com that isn't a registered contact in the database.

This comportment is normal?

Best regards

Latin3G

Existence is not checked when pushing a roster item

Yes, this is normal in ejabberd: you can add to your roster 'aaa@bbb.ccc', or even 'aaaaaaa', and ejabberd will accept it.

Note that in Jabber, each Jabber account has a roster. The roster is a list of roster items, and by default this list is empty. A Jabber client that logins to a Jabber account can push a new roster item to his roster. And the client can also request subscription to the presence of that roster item. It is not required to request subscription to a roster item.

So, you can add as contact a JabberID of an account that does not exist, either in your local server, in an existing remote server, or in an invented remote server. ejabberd will not check if that account exists when adding your roster item.

[Solved] Add inexisting users

Ok, thanks for explications about contacts in Jabber.

Syndicate content