Feature Request: domain alias

Hi all.
I have the problem: my jabber server resolves inside as local.domain.ru, but outside it resolves as domain2.ru.
Users jid seems as user@local.domain.ru.
I can't change domain names because of restrictons. And I can't setup the s2s connection with the external jabber servers.
Does developers can add "domain alias" feature? Seems to me as {hosts, ["local.domain.ru=domain2.ru"]}. In this case user@local.domain.ru will receive messages, sended both to user@local.domain.ru and user@domain2.ru.

SY, Alexander.

Re: Feature Request: domain alias

Domain aliases are hard (impossible?) to implement because of rosters.

Yes, it is not possible

Yes, it is not possible because, even if you can control internal rosters and make proper substitution, this cannot work with third parties servers: there is no server alias defined in the XMPP specification.

--
Mickaël Rémond
Process-one

External servers

In my opinion, external servers will know only one name - external, so it is no trouble.
In other way, the local server can control outgoing jid, for example, by acl. So, to the external servers messages will out from jid@domain2.ru.

SY, Alexander.

Re: Domain Aliases

a_b_v wrote:

In my opinion, external servers will know only one name - external, so it is no trouble.

And in my opinion, you should not use different domains for internal and external networks. You should use split DNS instead.

"hello everybody!" i have

"hello everybody!"

i have another situation:
xmpp server hostname is xmpp.company.tld (and all clients use this hostname to connect to ejabberd server) , but usernames are some-user@company.tld
ejabberd thinks that xmpp.comapny.tld and company.tld is different servers
and i have my adium continuously connecting and disconnecting
but, this happening only when i use BOSH

account name: kav@company.tld
bosh server address: https://xmpp.company.tld:5281/http-bind

thank you

Syndicate content