Fortinet black logo

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

Configure the email server used by the FortiGate various things. For example, for sending email messages to users to support user authentication features.

  config system email-server
      Description: Configure the email server used by the FortiGate various things. For example, for sending email messages to users to support user authentication features.
      set type {option}
      set reply-to {string}
      set server {string}
      set port {integer}
      set source-ip {ipv4-address}
      set source-ip6 {ipv6-address}
      set authenticate [enable|disable]
      set validate-server [enable|disable]
      set username {string}
      set password {password}
      set security [none|starttls|...]
      set ssl-min-proto-version [default|SSLv3|...]
  end

config system email-server

Parameter Name Description Type Size
type Use FortiGuard Message service or custom email server.
custom: Use custom email server.
option -
reply-to Reply-To email address. string Maximum length: 63
server SMTP server IP address or hostname. string Maximum length: 63
port SMTP server port. integer Minimum value: 1 Maximum value: 65535
source-ip SMTP server IPv4 source IP. ipv4-address Not Specified
source-ip6 SMTP server IPv6 source IP. ipv6-address Not Specified
authenticate Enable/disable authentication.
enable: Enable authentication.
disable: Disable authentication.
option -
validate-server Enable/disable validation of server certificate.
enable: Enable validation of server certificate.
disable: Disable validation of server certificate.
option -
username SMTP server user name for authentication. string Maximum length: 63
password SMTP server user password for authentication. password Not Specified
security Connection security used by the email server.
none: None.
starttls: STARTTLS.
smtps: SSL/TLS.
option -
ssl-min-proto-version Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
default: Follow system global setting.
SSLv3: SSLv3.
TLSv1: TLSv1.
TLSv1-1: TLSv1.1.
TLSv1-2: TLSv1.2.
option -

Configure the email server used by the FortiGate various things. For example, for sending email messages to users to support user authentication features.

  config system email-server
      Description: Configure the email server used by the FortiGate various things. For example, for sending email messages to users to support user authentication features.
      set type {option}
      set reply-to {string}
      set server {string}
      set port {integer}
      set source-ip {ipv4-address}
      set source-ip6 {ipv6-address}
      set authenticate [enable|disable]
      set validate-server [enable|disable]
      set username {string}
      set password {password}
      set security [none|starttls|...]
      set ssl-min-proto-version [default|SSLv3|...]
  end

config system email-server

Parameter Name Description Type Size
type Use FortiGuard Message service or custom email server.
custom: Use custom email server.
option -
reply-to Reply-To email address. string Maximum length: 63
server SMTP server IP address or hostname. string Maximum length: 63
port SMTP server port. integer Minimum value: 1 Maximum value: 65535
source-ip SMTP server IPv4 source IP. ipv4-address Not Specified
source-ip6 SMTP server IPv6 source IP. ipv6-address Not Specified
authenticate Enable/disable authentication.
enable: Enable authentication.
disable: Disable authentication.
option -
validate-server Enable/disable validation of server certificate.
enable: Enable validation of server certificate.
disable: Disable validation of server certificate.
option -
username SMTP server user name for authentication. string Maximum length: 63
password SMTP server user password for authentication. password Not Specified
security Connection security used by the email server.
none: None.
starttls: STARTTLS.
smtps: SSL/TLS.
option -
ssl-min-proto-version Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
default: Follow system global setting.
SSLv3: SSLv3.
TLSv1: TLSv1.
TLSv1-1: TLSv1.1.
TLSv1-2: TLSv1.2.
option -