We are using ejabberd and on that, I have created two virtual host(domain) say example.com example.net
and each domain has one user say user1 in example.com user2 in example.net
I have two questions :
Criteria: Number of users in each domain can be in thousands but there is one to one associate exists between this two domain (say user1@example.com -> user2@example.net, like that user3@example.com ->user4@example.net
can you suggest the best way to achieve this ? Sorry i am new to XMPP, so asking this basic question
If you install mod_filter from ejabberd-contrib git repository, probably you can filter that. But it would require adding a line to the configuration file for each pair of userX-userY, so I guess it isn't practical...