set

content modify action

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>]

Keywords and Variables

Description

Default

 

 

 

<name_str>

This is the name of the content profile.

 

action {discard

Select the action to be taken on messages matching the active

replace

forward

content profile.

 

quarantine reject

{discard} deletes the message.

 

replace

{forward} sends the message to the specified email address

 

treat_as_spam}

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.

 

forwardaddr

Enter the email address to be used if the selected action is forward.

 

<addr_str>

When forward is selected as the action, matching messages will be

 

 

forwarded to the specified email address.

 

History

FortiMail v3.0

New.

Related topics

set content modify filetype

set content modify monitor

FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference

 

06-30004-0420-20080814

149

Page 149
Image 149
Fortinet 3.0 MR4 manual Content modify action