The DelMX
utility deletes MX record from the DNS zone /var/named/db.
<zone>
configuration file and the dns_records
table of the Parallels Pro CP database.
Before taking any actions, make sure domain is active and not suspended.
/usr/local/bin/DelMX
-z|--zone
-d|--mxDomain
-s|--mailServer
-p|--pref
where
-z, --zone
is
zone name (mandatory).-d, --mxDomain
is the mail domain. Default value equals zone name.-s, --mailServer
is the mail server (mandatory).-p, --pref
is precedence. Default value is 10.Note: Arguments mandatory for long options are mandatory for short options too.
DelMX -z test1.com -d test1.com -s antispam1.com -p 10
or
DelMX --zone test1.com --mxDomain test1.com --mailServer antispam1.com --pref 10
or
DelMX --zone=test1.com --mxDomain=test1.com --mailServer=antispam1.com --pref=10
or
DelMX -z test1.com -s antispam.com
or
DelMX --zone test1.com --mxDomain 123.test1.com -s antispam1.com