Fortinet Technologies Inc. Page 136 FortiVoice 200D/200D-T v2.0 MR1 CLI Reference
smtptest
Use this command to test SMTP connectivity to a specified host.
Syntax
execute smtptest {<fqdn_str> | <host_ipv4>}[:<port_int>] [domain
<domain_str>]
Variable Description Default
{<fqdn_str> | <host_ipv4>} Enter the IP address or fully qualified domain
name (FQDN) of the SMTP server.
No
default.
[:<port_int>] If the SMTP server listens on a port number other
than port 25, enter a colon (:) followed by the port
number.
:25
[domain <domain_str>] If you want to test the connection from an IP
address in the protected domain’s IP pool, enter
the name of the protected domain.
No
default.