3 domains should be 2 virtual hosts

Hi,

I have three domains:

nameA.com
nameA.eu
nameB.info

I want following virtual hosts:

1. virtual host: nameA.com, nameA.eu
2. virtual host: nameB.info

The reason for the first virtual host is, that

user1@nameA.com and
user1@nameA.eu

should be the SAME account. That means if a message is sent to user1@nameA.com it will be displayed for user1 and if a message is sent to user1@name.eu it will also be displayed for user1.

My question is: Is that possible with ejabberd? And if yes, how?

Thanks, H.

It isn't possible to pretend

It isn't possible to pretend that nameA.com and nameA.eu are the same virtual host in ejabberd. Moreover, if even it were possible, it would confuse contacts from other servers, which know only JID user@nameA.com and will never guess that it's the same person as user@nameA.eu.

ok, no mirror-domain... but an Alias like in the eMailsystem?

Thanks for your quick anwser - even it is different than I wanted ;-)

Ok, if I can't declare one domain the be the mirror of an other domain would it be possible to assign individual Alias (like in the eMailsystem) to a jabber-account?

Regarding your confusion-problem: I am comparing the jabber with the emailsystem. And who tells you if two different emails are two different persons in reality? I am thinking that this can only be answered by the content of the communication between the email-partners - and the same for jabber communications-partners.

If this individual jabber-ID Alias are not possible in ejabberd too, wouldn't it be an important and nice feature to implement into ejabberd?

H.

Aliases are not possible in

Aliases are not possible in the Jabber world. A feature that makes it harder for spammers to create multiple addresses.

--
sander

becomes a feature request

thanks for your answer :-)

Hm.. I think it would make sence to start a feature request. Not because of spamming - e.g. I need this to still hold my old ID but to start my change to the new id. I also found a couple of simalar questions in this forum. Ok... this thread will be continued in a different subforum.

simple JID aliases

I write simple and dirty ;-) JID alias system for ejabberd. It is 2 patch file - ejabberd_alias_check.diff, ejabberd_alias_forward.diff and 1 shell script - ejabberd_alias_check.sh. User can login for allias name, alias account have independent roadster and presence send only if user is login to alias. Admin can set alias flag who decide of stoage procedure (mor detalis about alias file syntax in ejabberd_alias_check.sh). In ejabberd_alias_check.diff and ejabberd_alias_forward.diff must be set path to ejabberd_alias_check.sh. More detalis about this system (unfortunately only in polish, now) on http://www.opcode.eu.org/sieci_komputerowe_uslugi/#uslugi_sieciowe:PROJE...

Added to Contributions

I added your description to the Contributions page: Simple JID aliases. You can edit the content of that page.

Syndicate content