Virtualmin - Create Email User Begin With Number

In Webmin or Virtualmin you cannot create a user starting with a number. When you try to create user starting with a number, you may see the following message;

Failed to save user: Username cannot begin with a number

Here is the solution I'm stating;

Here I'm taking an example username/email address to solve the issue.

Example username/email-user: 2checkout

Domain: foo.com

So, the email address we want is 2checkout@foo.com

1) Firstly, create the email user twocheckout@foo.com from Virtualmin control panel graphical interface

2) Then, access command line SSH terminal logged in as root permission and enter the command:

virtualmin modify-user --domain foo.com --user twocheckout --newuser 2checkout

That's it, done !

Post a Comment