Fortinet white logo
Fortinet white logo

CLI Reference

profile replacement-message

profile replacement-message

Use this command to configure custom replacement messages for the subject, body, or attachments to be used for content and DLP scanning.

Syntax

config profile replacement-message

edit <name>

config member

edit ...

set content <string>

set comment <string>

next

end

set comment

next

end

Variable

Description

Default

edit ...

Configure the various email replacement message types:

  • content-subject

  • content-body

  • content-attachment-blocked

  • content-attachment-number-limit-exceeded

  • content-attachment-size-limit-exceeded

  • content-size-limit-exceeded

  • dlp-subject

  • dlp-body

  • dlp-attachment

  • virus-body

  • virus-attachment-infected

  • virus-attachment-suspicious

content <string>

Enter the content of the specific replacement message.

Note there is a 8191 character limit for each replacement message.

profile replacement-message

profile replacement-message

Use this command to configure custom replacement messages for the subject, body, or attachments to be used for content and DLP scanning.

Syntax

config profile replacement-message

edit <name>

config member

edit ...

set content <string>

set comment <string>

next

end

set comment

next

end

Variable

Description

Default

edit ...

Configure the various email replacement message types:

  • content-subject

  • content-body

  • content-attachment-blocked

  • content-attachment-number-limit-exceeded

  • content-attachment-size-limit-exceeded

  • content-size-limit-exceeded

  • dlp-subject

  • dlp-body

  • dlp-attachment

  • virus-body

  • virus-attachment-infected

  • virus-attachment-suspicious

content <string>

Enter the content of the specific replacement message.

Note there is a 8191 character limit for each replacement message.