cloud-api profile action
Use this command to apply specific actions the FortiMail system takes when encountering an infected email during a scan through an HTTPS cloud API connection to mailboxes. The actions applied on Microsoft 365 and Google Workspace are different from those applied during SMTP scans on the FortiMail system itself.
Syntax
config cloud-api profile action
edit <profile_name>
[set comment "<comment_str>"]
set archive-status {enable | disable}
set archive-account <account_name>
set final-action {discard | move | none | personal-quarantine | system-quarantine}
set notification-status {enable | disable}
set notification-profile <profile_name>
set move-to-folder-name <path_str>
set replace-status {enable | disable}
set replace-message <replacement-message_name>
end
|
Variable |
Description |
Default |
|
Enter a unique name for the profile. |
|
|
|
Select which email archive account to use. This setting is used only if |
|
|
|
Enable or disable email archiving. Also configure |
disable |
|
|
Enter a description or comment. |
|
|
|
final-action {discard | move | none | personal-quarantine | system-quarantine} |
Select which action to perform if the email violates a scan in the policy:
|
|
|
Enter the name of the folder that the email messages should be moved to. This setting is used only when |
|
|
|
Select which notification profile to use to specify the notification recipients. This setting is used only if |
|
|
|
Enable to send notifications to the recipients specified in the notification profile when a FortiMail scan performs an action such as discard or quarantine. Also configure |
disable |
|
|
Select which replacement message to use. This setting is used only if |
default |
|
|
Enable to replace the email attachment with a custom message when the content or antivirus scan detects an infection or content policy violation. Also configure |
disable |