Vineet and I have just had a quick screenshare session. He wants to send email from a subdomain and unfortunately he chose ‘mail’ as the subdomain. I have explained to him that the mail subdomain is reserved for use by Virtualmin and he should use any non-reserved name for a subdomain.
Also, he should not manually add stuff to /var/www but use the Virtulmin GUI.
Hopefully this has set him in the right direction with Virtualmin.
mail.domain is not reserved, it’s just used by default in most CPs. you can do whatever you like with it.. you could choose www.domain as MX , and mail.domain as WWW if you like..
anyway, can’t understand why something like this affects a script from sending email (?)
I do not want to get into a debate about the semantics of the word “reserved”, but for a newcomer to Virtualmin, it is simplest to consider the mail subdomain as reserved.
But you are right, Virtualmin can be configured to use any sub-domain by someone who knows his way around Virtualmin.