These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Generate my own 'Format for usernames that include domain'? on the new forum.
Hi all,
Is it possible to add another format that looks like user%domain.tld ? Because I have lots of accounts using this format. It's a legacy of WebStar which we transfered to exim/courier and works ok for us. Now we need a new (faster and bigger) server and I don't want our old system anymore. Virtualmin covers our demands just fine.
So if anyone knows how to add another format I would really like to know how also :-)
Regards,
Marc Rengers
It isn't really practical to allow support for arbitrary username formats, but I will add an option for user%domain in the user Virtualmin release. Whether this will actually work with all mail servers is another matter, as % can be a special character when it comes to email handling sometimes ..
''
Thanks Jamie.
Am I right that I should use (when implemented) name%domain instead of name%domain.tld? Because the latter is what I'm after. Of course I can send all mail users an email explaining how they should change their accountname, but the last 10 years they never had to change anything when we changed our systems.
And yes, a % can be a special character, but I never had any problems with it all these years (lucky me)....
Regards,
Marc
You will be able to select if the thing after the % is the full domain name, or just the first part ..
''
Very nice!
Hi Joe,
I would like to upgrade my servers to Virtualmin GPL, but I would like to do this with the user%domain.tld option. Can you give me an estimate when this would be ready?
It's not a showstopper at the moment, the old server still works :-)
Thanks!
I hope for this new version to be out today or tomorrow..
''
Hi,
I think it's me, but I can't find how to select if the thing after the % is the full domain name, or just the first part.... I have selected the user%domain in the Server Template and new users do get the right format, but without the TLD as in user%domain.tld
Could you elaborate on this?
Very ncie, this new option :-)
Thanks,
Marc
This can be configured at System Settings -> Module Config -> Defaults for new domains -> Domain name style in username.
''
ok, that's the feature i was waiting for as postfix is able to rewrite user%domain to user@domain - and this makes a lot of things easier for me (i had to start a secondary postfix instance for REAL and had the "normal" postfix only for "configuring" virtualmin to do the things right...)
but now i have 150 users i like to transform into the new form... i tried backup, changed the setting for new domains and restored the backups. but they used the user-domain format.
so, is there a way to have existing users changed - maybe something i can change in the backup file so they get re-created with the user%domain format?
thanks for help regards boris
There's no easy way to change all existing users - however, you can rename them at Webmin -> System -> Users and Groups, but this would need to be done one by one.
''