How to set up Server Templates to autamatic get Domain owner username "mydomain.com" and e-mail "email@example.com"?
And for e-mail/ftp default usernames to be "firstname.lastname@example.org"?
I tried several combinations of Server Templates settings and Module Config -> Defaults for new domains settings still not desired results.
Overall trying to set up:
default homdir for new domain: /home/domains/<mydomain.com>
default web foder: /home/domains/<mydomain.com>/www
default admin username: mydomain.com
default admin e-mail: email@example.com
default mySQL db name: mydomain_com
default username for other users: firstname.lastname@example.org
For email/ftp to be email@example.com, look in Server Templates -> Default Template -> Mail for domain – and make sure "Format for usernames that include domain" is set to "user@domain".
Also, you may need to look in Module Config -> Defaults for new domains, and make sure "Include domain name in usernames" and "Domain name style in username" are set the way you want.
But I’m not sure if those options apply to new Virtual Server administrators or not, they may just be for users created within a sub-server (ie, email, ftp, and additional administrators). You’ll have to experiment
Also, I’m not sure you can set an alternate default address to use for email to the Virtual server owner. Either the email is sent to the Virtual server owner that Virtualmin creates, or you’d need to manually specify an alternative address.
Though, one way to handle that would be to go into the Server Templates -> Mail for Domain, and setup a default alias when a new Virtual Server is created, that points firstname.lastname@example.org to whatever your server administrator is.