Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm scripting to set up via cli commands my template settings on Webmin version 1.660.

I still miss to set the format for mail usernames.

System Settings -> Server Templates -> Mail for Domain -> Format for usernames that include domain

Here I want to setup username@domain, but on the cli I found nothing.

What I tried to do is getting the whole template settings, but I don't find this property:

$ virtualmin get-template --id 0 | grep mail
avail: dns=1 mail=1 web=1 webalizer=1 mysql=1 postgres=1 spam=1 file=1 passwd=1 proc=2 cron=1 at=1 telnet=1 updown=0 change-user=1 htaccess-htpasswd=1 mailboxes=1 custom=0 shell=0 webminlog=0 syslog=1 phpini=1 virtualmin-awstats=virtualmin-mailman
mail: 
mail_bcc: 
mail_cc: 
mail_on: none
mail_subject: Virtual server created
mailboxlimit: none
mailgroup: none
web_webmail: 1
web_webmaildom:
share|improve this question

closed as off-topic by Falcon Momot, Ward, MadHatter, mdpc, womble Oct 8 '15 at 23:44

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 2 down vote accepted

I found there is no way to do that.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.