Migrate e-mail users


is it a way to migrate e-mail users from username.domain to username@domain.tld ?

I have changed the Server Template but the users haven’t been updated.

I managed to duplicate users in the /etc/passwd. It works but we need to know the password and we see the duplicates in the User list of webmin.

Is it an elegant way to do this ?

Thank you.

Sorry, there’s no good elegant way to do this!

When the username format is changed in the Server Templates – that only comes into effect when users are created.

One not-so-elegant way of doing it that I think should work would be to generate a backup of the Virtual Server, delete the Virtual Server, then restore it. That should cause those users to be re-created using the new template format.