first email with create-domaine cli

Hello,

I created a virtual server with the cli create-domaine but the problem is that the default address email is in the form:

username (eg) : myemail

and i would like

username : myemail@mydom.com

it works with the second email in “Edit Mail and FTP Users”

wget -O - --quiet --http-user=root --http-passwd=qwerty --no-check-certificate https://‘172.16.0.251:10000/virtual-server/remote.cgi?program=create-domain&domain=mydns.com&user=myemail&pass=qwerty&dns&mysql&web&mail&webalizer&spam&virus&mysql-pass=qwerty&limits-from-plan&unix&dir&template=Default Settings&plan=Medium&json=1’

thank you,

(sorry for my english, i’m french)

I created a virtual server with the cli create-domaine but the problem is that the default address email is in the form: username (eg) : myemail

Yeah, the default from address would be the username… and the default Virtual Server owner’s username is just “myemail”.

If you want to change the default username, you could go into System Settings -> Virtualmin Config -> “Include domain name in usernames” to “Always”.

-Eric