profile antivirus-action
Use this command to configure antivirus action profiles.
Syntax
config profile antivirus-action
edit <profile_name>
[set comment "<comment_str>"]
set subject-tagging-status {enable | disable}
set subject-tagging-text "<tag_str>"
set header-insertion-status {enable | disable}
config header-insertion-list
edit header-insertion-name <name_str>
set header-insertion-value "<header_str>"
next
end
set alternate-host-status {enable | disable}
set alternate-host {<relay_fqdn> | <relay_ipv4>}
set archive-status {enable | disable}
set archive-account <account_name>
set bcc-status {enable | disable}
set bcc-addr <recipient_email>
set bcc-env-from-status {enable | disable}
set bcc-env-from-addr <bcc_email>
set deliver-to-original-host {enable | disable}
set disclaimer-insertion {enable | disable}
set disclaimer-insertion-content <message_name>
set disclaimer-insertion-location {beginning | end}
set notification-status {enable | disable}
set notification-profile <profile_name>
set quarantine-notify {enable | disable}
set quarantine-notify-profile <profile_name>
set quarantine-folder "<path_str>"
set remove-url-status {enable | disable}
set replace-infected-status {enable | disable}
set rewrite-rcpt-local-type {none | prefix | replace | suffix}
set rewrite-rcpt-local-value <value_str>
set rewrite-rcpt-domain-type {none-prefix | replace | suffix}
set rewrite-rcpt-domain-value <value_str>
end
|
Variable |
Description |
Default |
|
Enter the name of an antivirus action profile. |
|
|
|
action {discard | domain-quarantine | none | reject | repackage | repackage-with-cmsg | rewrite-rcpt | system-quarantine} |
Enter an action for the profile.
See also information about final vs. non-final actions and quarantines. |
none |
|
Type the fully qualified domain name (FQDN) or IP address of the alternate relay or SMTP server. This field applies only if |
|
|
|
Enable to route the email to a specific SMTP server or relay. Also configure Note: If you enable this setting, for all email that matches the profile, the FortiMail unit will use this destination and ignore |
disable |
|
|
Enter the archive account. |
|
|
|
Enable or disable message archiving. |
disable |
|
|
Type the blind carbon copy (BCC) recipient email address. This setting applies only if |
|
|
|
Enter an envelope from BCC address. In the case that email is not deliverable and bounced back, the email is returned to this email address instead of the original sender. This is helpful when you want to use a specific email to collect bounce notifications. This field applies only if |
|
|
|
Enable to specify an envelope from address. |
disable |
|
|
Enable to send a BCC of the email. Also configure |
disable |
|
|
Enter a description or comment. |
|
|
|
Enable to deliver the message to the original host. |
disable |
|
|
Enable to insert a disclaimer. |
disable |
|
|
Select which message content to insert. |
default |
|
|
Select whether to insert the disclaimer at the start or end. |
beginning |
|
|
Enter the message header key, such as Note: Do not enter spaces in the header key. These are forbidden by RFC 2822. |
|
|
|
Enable to add message headers to the email before forwarding it to the recipient. Many email clients can sort incoming email messages into separate mailboxes based on text appearing in various parts of email messages, including the message header. For details, see the documentation for your email client. Message header lines are composed of two parts: a key (name) and a value, which are separated by a colon, such as: X-Custom-Header: Virus detected by profile 22. Also configure header-insertion-name <name_str> and header-insertion-value "<header_str>". |
disable |
|
|
Enter the message header value. |
|
|
|
Type the name of the notification profile used for sending notifications. |
|
|
|
Enable to send a notification about the detection. Also configure notification-profile <profile_name>. |
disable |
|
|
Enter the location of the quarantine folder. This setting is available if action {discard | domain-quarantine | none | reject | repackage | repackage-with-cmsg | rewrite-rcpt | system-quarantine} is |
disable |
|
|
Enable to quarantine and also notify the recipient about the action. This setting is available if action {discard | domain-quarantine | none | reject | repackage | repackage-with-cmsg | rewrite-rcpt | system-quarantine} is |
disable |
|
|
Enter the name of a notification profile. This setting is available if action {discard | domain-quarantine | none | reject | repackage | repackage-with-cmsg | rewrite-rcpt | system-quarantine} is |
|
|
|
Enable to remove URL detected by FortiSandbox. |
enable |
|
|
Enable or disable the option to replace infected body or attachment. |
disable |
|
|
Change the local part (the portion of the email address before the '@' symbol, typically a user name) of the recipient address of any email message detecting a virus.
This setting is available if action {discard | domain-quarantine | none | reject | repackage | repackage-with-cmsg | rewrite-rcpt | system-quarantine} is |
none |
|
|
Enter the text for the option (except |
|
|
|
Change the domain part (the portion of the email address after the '@' symbol) of the recipient address of any email message detecting a virus.
This setting is available if action {discard | domain-quarantine | none | reject | repackage | repackage-with-cmsg | rewrite-rcpt | system-quarantine} is |
none |
|
|
Enter the text for the option (except |
|
|
|
Enable to prepend text defined using subject-tagging-text "<tag_str>" ("tag") to the subject line on detected virus. |
disable |
|
|
Enter the text that will appear in the subject line of the email, such as " |
|