Exporting e-mails with username.domain format and re-importing them with username@domain format

This is not urgent at all, however since discussion on forums (http://virtualmin.com/node/31469#comment-125220) didn't reveal any good solution, I am creating this ticket to request to develop some way to manipulate e-mail account formats without having to backup and import the whole virtual servers. Thanks!

Status: 
Active

Comments

Currently, there is no automated way to convert some or all accounts from user@domain format to user.domain, or vice-versa.

However, you could do this manually by editing /etc/passwd and /etc/shadow and renaming the users. You might also need to rename the user's files under /var/lib/dovecot .