out_content modify action

set

out_content modify action

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

Syntax

set out_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 outgoing content profile.

 

action {discard

Select the action to be taken on messages matching the active

replace

forward reject

outgoing content profile.

 

replace

{discard} deletes the message.

 

treat_as_spam}

{forward} sends the message to the specified email address

 

 

instead of the recipient.

 

 

{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

 

 

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 are

 

 

forwarded to the specified email address.

 

History

FortiMail v3.0

New.

Related topics

set out_content modify action

set out_content modify monitor

 

FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference

254

06-30004-0420-20080814

Page 254
Image 254
Fortinet 3.0 MR4 Outcontent modify action, Set outcontent modify action Set outcontent modify monitor, Forward reject