set content modify action
FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference
06-30004-0420-20080814 149
content modify action

Use this command to select the action to be taken on messages matching the specified content profile.

Syntax

set content <name_str> modify action {treat_as_spam | reject| discard |

replace | quarantine | forward} [forwardaddr <addr_str>]

History
Related topics

set content modify filetype

set content modify monitor

Keywords and Variables Description Default
<name_str> This is the name of the content profile.
action {discard |
forward |
quarantine | reject
| replace |
treat_as_spam}
Select the action to be taken on messages matching the active
content profile.
{discard} deletes the message.
{forward} sends the message to the specified email address
instead of the recipient
{quarantine} stores the infected message in the FortiMail
unit’s system quarantine. This option is available for incoming
email only.
{reject} causes the FortiMail unit to not accept delivery of
the infected message. An error is returned to the system
attempting delivery.
{replace} strips the infected attachment and replaces it with
the a custom message.
{treat_as_spam} handles the infected message according
to the action set in the applicable antispam profile.
replace
forwardaddr
<addr_str> Enter the email address to be used if the selected action is forward.
When forward is selected as the action, matching messages will be
forwarded to the specified email address.
FortiMail v3.0 New.