new users command line

I recently updated to a dedicated server, in the process I updated virtualmin to the latest version. When I run my scripts to create a user, I’m getting a different result than I did before I made the switch.

Here’s the command line call:

virtualmin create-user --domain --user fred --pass password

on the old setup this would create and and assign them to the same user number.

on the new setup, this creates…hmm where is the setting to change that back to what I had before?



Hi Dan,

I think you’re looking for System Settings -> Server Templates -> Default -> Mail for Domain… on that screen, at the bottom, you’ll see “Format for usernames that include domain”.

Set that to user@domain and you should be set!