We use Virtualmin installed on Ubuntu 12.04. We migrated it about 3 years ago from a system running Ubuntu 10.04 and ever since then new users are created as “username.domain” rather than how the old users were created “username@domain”.
Now we are coming to migration to a google apps for business account, which can log into an IMAP server but it can only use email address usernames in the “username@domain” format.
I have seen this thread (https://www.virtualmin.com/node/16216) which shows me how to change the settings of our mail server so that new users are created with “username@domain” but I was wondering if there is any way to batch convert all the existing “username.domain” users into “username@domain” ones easily?
These are the settings I have tried so far:
System Settings -> Server Template -> Default -> Mail for Domain, and change “Format for usernames that include domain” to “user@domain”
System Settings ->Virtualmin Configuration -> Default for new domains : Domain name style in username.
Server Configuration -> Change Domain Name : Change mailbox name suffix. (changed to domain.tld)