I created a virtual server and I notice that the user are been created as firstname.lastname@example.org. Is it possible to have the users created without this sufix (.domain) or is this the virtualmin way to work?
Thanks in advance for your help,
There’s two areas you may want to tweak for that:
In System Settings -> Server Templates -> Default Settings -> Mail for Domain – and from there you can change "Format for usernames that include domain".
System Settings -> Module Config -> Defaults for New Domains – there’s several options in there that may be of interest.
thank you for your answer.
Let me check if I understand, all user created for a domain have to combine user name plus domain name in one of those formats offered by Virtualmin to avoid a clash…Is it correct?
In Virtualmin, it is not possible to have two user with the same name for two distinct domain, for example: for a domain xpto1.com I would have a user name email@example.com and for a domain xpto2.com I could have another user with the same name: firstname.lastname@example.org. Is it correct?
That is correct – users are all added to /etc/passwd, and no two users can have the same name.
But you can have email@example.com and firstname.lastname@example.org, that is no problem – those are two completely different users.
Have a good one!
in that case of email@example.com and firstname.lastname@example.org, when they access the email with outlook express or the ftp site, they have to entry with the complete user name (joe.xpto1, joe.xpto2) or only joe?
Is it possible have only virtual user for the virtual server or at least for postfix?
Thank in advance,
they have to entry with the complete user name (joe.xpto1, joe.xpto2) or only joe?
They need to enter the full user name. Always, no matter what client. (Actually, Usermin can manufacture the full username from the domain name and the first part of the name, but that’s not relevant to discussions about any other clients.)
The name is listed on the Virtualmin Edit Mail/FTP Users page. By default, it’ll be of the form joe.virtualmin (for joe in the domain virtualmin.com), but this is wholly configurable.
Thank you Joe and Eric for your help