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 mail-from-addr <email_address>

set connection-type {auto | regular | secure}

end

Variable

Description

Default

mail-from-addr <email_address>

Specify the envelope MAIL FROM: address to use.

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

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 mail-from-addr <email_address>

set connection-type {auto | regular | secure}

end

Variable

Description

Default

mail-from-addr <email_address>

Specify the envelope MAIL FROM: address to use.

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