Submitted by yngens on Thu, 07/10/2014 - 16:10
I wonder how can use "[--mail]" option of "virtualmin create-domain" command to prevent it from sending an e-mail notification. The following command:
virtualmin create-domain --domain db.$VIRTUALSERVER_DOM --parent $VIRTUALSERVER_DOM --default-features
always sends e-mail to virtualmin owner's e-mail address. Specifying a template with "[--template "name"]" option without "Email message?" option enabled doesn't help for some reason.
The following doesn't work:
virtualmin create-domain --mail no ...
virtualmin create-domain --mail "no" ...
Thanks!
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 07/10/2014 - 17:31 Comment #1
The actual flag you want is
--no-email
. The--mail
flag controls if email is enabled for the domain or not.Submitted by yngens on Thu, 07/10/2014 - 18:25 Comment #2
That was exactly what I needed. Thanks!
Submitted by Issues on Thu, 07/24/2014 - 18:31 Comment #3
Automatically closed -- issue fixed for 2 weeks with no activity.