When importing a Domain-based Delivery list, the list must be
in a valid XML file.
<?xml version="1.0" encoding="UTF-8"?>
<IMSS_DBD>
<!--
This section defines version and platform information
for IMSS from which this Domain-based Delivery file exported.
Do NOT edit this section. This section is used for version
checking during imports.
-->
<key section="MetaInfo">
<value name="version">7.1</value>
<value name="build">0000</value>
<value name="platform">Win32</value>
</key>
<!--
This section defines the relay methods if either of the
following conditions are satisfied:
1. Cannot find an exact match
2. The Domain-based relay methods list is empty.
The syntax is same as that used for domain-based relays.
-->
<key section="DefaultRelay">
<value name="UseMethod">1</value>
<value name="SmartHostCount">1</value>
<value
name="SmartHost0">user.client.domain.example.com:25</value>
</key>
<!--
This section defines domain-based relay settings for specific
domains.
Each key defines one domain relay with its name in the "domain"
property.
IMSS supports two relay methods: Smart host and DNS query:
1. UseMethod=0: DNS query method (default value)
2. UseMethod=1: Smart host method
IMSS supports multiple options for each kind of relay method,
for example:
UseMethod=1
SmartHostCount=2
SmartHost0=<ip_of_downstream_mta0>:25
SmartHost1=<ip_of_downstream_mta1>:25
or
UseMethod=0
DNSServerCount=2
DNSServer0=<ip_of_dns_server0>
DNSServer1=<ip_of_dns_server1>
(DNS query allows blank lists. If DNSServerCount=0, MTAs
will use the system default DNS server)
Syntax for SmartHost should use the following formats:
hostname_or_ip:port:auth:username:password
- hostname_or_ip : Host name or IP address (only IPv4 addresses
or names are supported).
- port : Host port. The default value is 25.
- auth : Authentication is required.
- 1: MTA will try authentication
A user name and password might be required.
The default value is 0.
- username : User name used for authentication. The default
value is a blank user name.
- password : Password used for authentication.
Use the IMSS 'password' utility to generate the password.
Syntax for DNS Servers should use the following format:
hostname_or_ip
hostname_or_ip : The IP address or host name of the DNS
server (only IPv4 addresses or names are supported).
-->
<key domain="example.com">
<value name="UseMethod">1</value>
<value name="SmartHostCount">1</value>
<value name="SmartHost0">user.client.domain.example.com:25</value>
</key>
</IMSS_DBD>