Fortinet black logo

CLI Reference

system email-server

system email-server

Use this command to specify and configure an email server to be used for FortiGate messaging, such as Alert Emails for specified logging events.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.2.

Command Description

set ssl-min-proto-version {default | SSLv3 | TLSv1 | TLSv1-1 | TLSv1-2}

Set the minimum SSL version that can be used for SSL/TLS-protected sessions to the configured email server.

The default value is default which means to follow the global minimum set by the ssl-min-proto-version option of the config system global command.

config system email-server
    set type {custom}   Use FortiGuard Message service or custom email server.
            custom  Use custom email server.
    set reply-to {string}   Reply-To email address. size[63]
    set server {string}   SMTP server IP address or hostname. size[63]
    set port {integer}   SMTP server port. range[1-65535]
    set source-ip {ipv4 address}   SMTP server IPv4 source IP.
    set source-ip6 {ipv6 address}   SMTP server IPv6 source IP.
    set authenticate {enable | disable}   Enable/disable authentication.
    set validate-server {enable | disable}   Enable/disable validation of server certificate.
    set username {string}   SMTP server user name for authentication. size[63]
    set password {password_string}   SMTP server user password for authentication. size[128]
    set security {none | starttls | smtps}   Connection security used by the email server.
            none      None.
            starttls  STARTTLS.
            smtps     SSL/TLS.
    set ssl-min-proto-version {option}   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.
end

Additional information

The following section is for those options that require additional explanation.

ssl-min-proto-version {default | SSLv3 | TLSv1 | TLSv1-1 | TLSv1-2}

Set the minimum SSL version that can be used for SSL/TLS-protected sessions to the configured email server.

The default value is default which means to follow the global minimum set by the ssl-min-proto-version option of the config system global command.

system email-server

Use this command to specify and configure an email server to be used for FortiGate messaging, such as Alert Emails for specified logging events.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.2.

Command Description

set ssl-min-proto-version {default | SSLv3 | TLSv1 | TLSv1-1 | TLSv1-2}

Set the minimum SSL version that can be used for SSL/TLS-protected sessions to the configured email server.

The default value is default which means to follow the global minimum set by the ssl-min-proto-version option of the config system global command.

config system email-server
    set type {custom}   Use FortiGuard Message service or custom email server.
            custom  Use custom email server.
    set reply-to {string}   Reply-To email address. size[63]
    set server {string}   SMTP server IP address or hostname. size[63]
    set port {integer}   SMTP server port. range[1-65535]
    set source-ip {ipv4 address}   SMTP server IPv4 source IP.
    set source-ip6 {ipv6 address}   SMTP server IPv6 source IP.
    set authenticate {enable | disable}   Enable/disable authentication.
    set validate-server {enable | disable}   Enable/disable validation of server certificate.
    set username {string}   SMTP server user name for authentication. size[63]
    set password {password_string}   SMTP server user password for authentication. size[128]
    set security {none | starttls | smtps}   Connection security used by the email server.
            none      None.
            starttls  STARTTLS.
            smtps     SSL/TLS.
    set ssl-min-proto-version {option}   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.
end

Additional information

The following section is for those options that require additional explanation.

ssl-min-proto-version {default | SSLv3 | TLSv1 | TLSv1-1 | TLSv1-2}

Set the minimum SSL version that can be used for SSL/TLS-protected sessions to the configured email server.

The default value is default which means to follow the global minimum set by the ssl-min-proto-version option of the config system global command.