This procedure describes how to use the Email Security - Server appliance CLI to configure a domain with a single next-hop IP address.
If you do not specify a TLS policy, the value none is used by default.
If you specify a TLS policy (opportunistic, mandatory, or verify), you can also configure the MTA to use DNS MX record translation on the next-hop IP address.
Prerequisites
An established connection between the Email Security - Server appliance and the Internet.
You are logged in to the Email Security - Server appliance CLI as an Admin or Operator.
Go to CLI configuration mode.
hostname > enable hostname # configure terminal
Specify the domain and one next-hop IP address.
By default, the MTA TLS delivery mode is
none.By default, MTA use of DNS MX record translation on the next-hop IP addresses is
false(disabled). If you explicitly configure the delivery mode, you can enable themxoption.The following example configures the mydomain1.com domain with a single next-hop IP address and uses the default MTA TLS delivery setting (
none):hostname (config) # email-analysis domain mydomain1.com next-hop 172.17.74.10
The following example configures the mydomain2.com domain with a single next-hop IP address and sets the default next-hop MTA TLS mode to
mandatory.hostname (config) # email-analysis domain mydomain2.com next-hop 172.17.74.20 tls-policy mandatory
The following example configures the mydomain3.com domain with a single next-hop IP address and sets the next-hop MTA TLS mode to
verify. The MTA is configured to use DNS MX record translation on the next-hop IP address.hostname (config) # email-analysis domain mydomain3.com next-hop 172.17.74.30 tls-policy verify mx true
If you want to enable email for all subdomains of a specified domain, use the email-analysis domain <domain_name> subdomain-relay enable command.
hostname (config) # email-analysis domain mydomain2.com subdomain-relay enable
Note
A domain and all subdomains created for it must point to the same next-hop IP address.
Verify your changes.
hostname (config) # show email-analysis Email-Analysis: enabled yes . . . Domain(s): domain: mydomain1.com next hop mta: 172.17.74.10 MX Enable: false TLS mode: none Block Notice Enable: true Subdomain Relay Enable: false domain: mydomain2.com next hop mta: 172.17.74.20 MX Enable: false TLS mode: mandatory Block Notice Enable: true Subdomain Relay Enable: true domain: mydomain3.com next hop mta: 172.17.74.30 MX Enable: true TLS mode: verify Block Notice Enable: true Subdomain Relay Enable: false
Save your changes.
hostname (config) # write memory