execute

smtptest

smtptest

Use this command to test connectivity to an SMTP server.

Syntax

execute smtptest <ipv4_addr[:port]> domain <domain_str>

<ipv4_addr> is the IP address of the SMTP server

[:port] is the optional port number to connect to the SMTP server.

<domain_str> is the name of the domain on the SMTP server to connect to.

Example

This example tests the connection to an SMTP server at 192.168.100.2 on port 25 to the example.com domain.

execute smtptest 192.168.100.2:25 domain example.com

History

FortiMail v3.0 MR3 New.

Related topics

execute reboot

FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference

 

06-30004-0420-20080814

43

Page 43
Image 43
Fortinet 3.0 MR4 manual Smtptest, Execute smtptest ipv4addrport domain domainstr