I was just wondering if it would be possible to have the same username with different domains:
As far as I know YunoHost takes the username as the unique ID, and there cannot be another one with the same name, even if they are from different domains/websites/projects. Am I wrong?
Any way to bypass this?
I guess I could set up another server but that wouldn’t be efficient.
You are talking about email aliases.
You can define what you want for every user.
For example, you have a yunohost user called John and you have 3 domains dom.com dom.net and dom.me. You can define the aliases you want email@example.com firstname.lastname@example.org email@example.com. You can also define anything you want firstname.lastname@example.org etc.
You can add it in the webadmin > users > email aliases. As long as you have the domain name listed in your domains.
I didn’t think of aliases that way but it’s not the solution I was looking for.
An alias is an identity for the same person, so I guess it would work under certain circumstances. But what if they were two different people with the same name (John) using two different domain names? One would have to be email@example.com and the other one firstname.lastname@example.org, right?
Thanks for the reply anyway. I (want to) believe I have a clearer understanding of how it works, what I want to achieve and how to do it.
It would be necessary to have different users names : johndoe and johndeep. The first can have email@example.com and the second firstname.lastname@example.org
Ok, that might work for emails, but it wouldn’t for other services as the ID is the username, not the email address / alias. Eg: synapse uses the username, not the email, so there couldn’t be two synapse users named john even if they were using different domains [@email@example.com and @firstname.lastname@example.org].
It’s the same on Twitter: usernames are unique. But when it comes to email, there could be plenty of johns so long as their provider was different (gmail, hotmail, yahoo, live, gmx, ymail, outlook…).
It’s not important, I know, but maybe it’s something to keep in mind and plan ahead: usernames should be composed of name + surname if you are planning on adding a bunch of people to your server.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.