Fortinet black logo

CLI Reference

mailsetting smtp-rcpt-verification

mailsetting smtp-rcpt-verification

Microsoft 365 does not accept a blank MAIL FROM:, which is the FortiMail default setting for SMTP recipient verification. Use this command to add an envelope from address to solve the problem.

Syntax

config mailsetting smtp-rcpt-verification

set connection-type {auto | regular | secure}

set mail-from-addr <email_address>

set mode {regular | fail-open}

end

Variable

Description

Default

connection-type {auto | regular | secure}

Define the connection type for SMTP recipient verification:

  • auto: Attempt ESMTP protocol first, and fallback to SMTP protocol. ESMTP supports recipient verification for TLS-enforced backend connections.
  • regular: Use SMTP protocol (HELO without STARTTLS).
  • secure: Use ESMTP protocol (EHLO with STARTTLS).

regular

mail-from-addr <email_address>

Specify the envelope MAIL FROM: address to use.

mode {regular | fail-open}

Define the recipient verification mode:

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

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

regular

mailsetting smtp-rcpt-verification

Microsoft 365 does not accept a blank MAIL FROM:, which is the FortiMail default setting for SMTP recipient verification. Use this command to add an envelope from address to solve the problem.

Syntax

config mailsetting smtp-rcpt-verification

set connection-type {auto | regular | secure}

set mail-from-addr <email_address>

set mode {regular | fail-open}

end

Variable

Description

Default

connection-type {auto | regular | secure}

Define the connection type for SMTP recipient verification:

  • auto: Attempt ESMTP protocol first, and fallback to SMTP protocol. ESMTP supports recipient verification for TLS-enforced backend connections.
  • regular: Use SMTP protocol (HELO without STARTTLS).
  • secure: Use ESMTP protocol (EHLO with STARTTLS).

regular

mail-from-addr <email_address>

Specify the envelope MAIL FROM: address to use.

mode {regular | fail-open}

Define the recipient verification mode:

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

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

regular