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 Exporting e-mails with username.domain format and re-importing them with username@domain format on the new forum.
Howdy,
There unfortunately isn't a good way to change existing email addresses.
The one thing I think might work, would be to generate a backup of the domain, and once the email username format is at the correct setting, to import the backup. I think importing the backup will re-generate the email usernames.
-Eric
Thanks Eric,
I knew of that method, but was reluctant because the website is quite large and it would be more troublesome to go that way than just convincing our client to continue to use both formats for now. To say frankly I find it not very much logical to go through backing up and re-importing the whole website to get only small fraction of it (mail accounts) to desired format. This is especially problematic for large websites. So I believe eventually Virtualmin should develop some method to change mail address formats for existing account without touching the document root of the websites.
Thanks!
I tried backing up a virtual server on the old server and restoring to the new server, but the username format remained the same.
I first modified the default template "Format for usernames that include domain" to "username@domain".
I didn't see any settings that I should change during the import.
I would like the imported user account login names to be "username@domain.tld" format.
Thanks much,
G