Fortinet white logo
Fortinet white logo

CLI Reference

mailsetting smtp-rcpt-verification

mailsetting smtp-rcpt-verification

Use this command to configure a system-level sender address and other settings that FortiMail will use during SMTP recipient verification.

Syntax

config mailsetting smtp-rcpt-verification

set connection-type {auto | regular | secure}

set mail-from-addr <sender_email>

set mode {regular | fail-open}

end

Variable

Description

Default

connection-type {auto | regular | secure}

Select the connection type for SMTP recipient verification:

  • auto: Try ESMTP first, and fall back to SMTP protocol.

  • regular: Use the SMTP protocol (HELO without STARTTLS).

  • secure: Use the ESMTP protocol (EHLO with STARTTLS).

regular

mail-from-addr <sender_email>

Enter the sender email address, if any, that FortiMail will use in the SMTP envelope when connecting for recipient verification.

This is a system-level setting. For a sender email address that is specific to a protected domain, you can configure smtp-mail-from-addr <sender_email> instead.

Note: Some services such as Microsoft 365 do not accept an empty sender email address (MAIL FROM:).

mode {regular | fail-open}

Select the recipient verification mode:

  • regular: Always require recipient verification with the SMTP server.

  • fail-open: Do not perform recipient verification if the SMTP server is unreachable.

regular

Related topics

config domain-setting

mailsetting smtp-rcpt-verification

mailsetting smtp-rcpt-verification

Use this command to configure a system-level sender address and other settings that FortiMail will use during SMTP recipient verification.

Syntax

config mailsetting smtp-rcpt-verification

set connection-type {auto | regular | secure}

set mail-from-addr <sender_email>

set mode {regular | fail-open}

end

Variable

Description

Default

connection-type {auto | regular | secure}

Select the connection type for SMTP recipient verification:

  • auto: Try ESMTP first, and fall back to SMTP protocol.

  • regular: Use the SMTP protocol (HELO without STARTTLS).

  • secure: Use the ESMTP protocol (EHLO with STARTTLS).

regular

mail-from-addr <sender_email>

Enter the sender email address, if any, that FortiMail will use in the SMTP envelope when connecting for recipient verification.

This is a system-level setting. For a sender email address that is specific to a protected domain, you can configure smtp-mail-from-addr <sender_email> instead.

Note: Some services such as Microsoft 365 do not accept an empty sender email address (MAIL FROM:).

mode {regular | fail-open}

Select the recipient verification mode:

  • regular: Always require recipient verification with the SMTP server.

  • fail-open: Do not perform recipient verification if the SMTP server is unreachable.

regular

Related topics

config domain-setting