Fortinet black logo

CLI Reference

ms365 setting

ms365 setting

Use this command to configure real-time scan settings.

Syntax

config ms365 setting

set hide-email-on-arrival {enable | disable}

set push-notification-url-base <string>

set realtime-scan-log {all | on-policy-match}

set realtime-scan-status {enable | disable}

set service-endpoint {china | germany | global | us-dod | us-gov}

end

Variable

Description

Default

hide-email-on-arrival {enable | disable}

Enable or disable moving email to hidden folder on arrival for real-time scan.

When enabled, this feature helps to avoid users opening potentially dangerous email before the FortiMail unit has had the opportunity to scan the email, especially if the email contains large attachments. After the email is scanned and deemed safe, it is then removed from the hidden folder and placed into the user's mailbox.

disable

push-notification-url-base <string> Define the base URL to receive notifications.

realtime-scan-log {all | on-policy-match}

Enter a realtime scan log option. When set to on-policy-match, Microsoft 365 History, Mail Event, Antivirus, and Antispam log entries will only be logged upon policy match.

on-policy-match

realtime-scan-status {enable | disable} Enable or disable real-time scan.

disable

service-endpoint {china | germany | global | us-dod | us-gov}

Enter the appropriate geographical Microsoft 365 service endpoint.

global

ms365 setting

Use this command to configure real-time scan settings.

Syntax

config ms365 setting

set hide-email-on-arrival {enable | disable}

set push-notification-url-base <string>

set realtime-scan-log {all | on-policy-match}

set realtime-scan-status {enable | disable}

set service-endpoint {china | germany | global | us-dod | us-gov}

end

Variable

Description

Default

hide-email-on-arrival {enable | disable}

Enable or disable moving email to hidden folder on arrival for real-time scan.

When enabled, this feature helps to avoid users opening potentially dangerous email before the FortiMail unit has had the opportunity to scan the email, especially if the email contains large attachments. After the email is scanned and deemed safe, it is then removed from the hidden folder and placed into the user's mailbox.

disable

push-notification-url-base <string> Define the base URL to receive notifications.

realtime-scan-log {all | on-policy-match}

Enter a realtime scan log option. When set to on-policy-match, Microsoft 365 History, Mail Event, Antivirus, and Antispam log entries will only be logged upon policy match.

on-policy-match

realtime-scan-status {enable | disable} Enable or disable real-time scan.

disable

service-endpoint {china | germany | global | us-dod | us-gov}

Enter the appropriate geographical Microsoft 365 service endpoint.

global