set antispam

Description

Configures the policy for Anti-Spam blade.

Syntax

set antispam [ mode <mode> ] [ detection-method <detection-method> ] [ log <log> ] [ action-spam-email-content <action-spam-email-content> ] [ flag-subject-stamp <flag-subject-stamp> ] [ detect-mode <detect-mode> ] [ specify-suspected-spam-settings { true [ suspected-spam-log <suspected-spam-log> ] [ action-suspected-spam-email-content <action-suspected-spam-email-content> ] [ flag-suspected-spam-subject-stamp <flag-suspected-spam-subject-stamp> ] | false } ]

Parameters

Parameter

Description

action-spam-email- content

Action to be used upon spam detection in email content: block, flag-header, flag-subject

Options: block, flag-header, flag-subject

action-suspected- spam-email-content

Action to be used upon suspected spam detection in email content: block, flag-header, flag-subject

Options: block, flag-header, flag-subject

detect-mode

Detect-Only mode: on, off

Type: Boolean (true/false)

detection-method

Type of spam detection: Either Sender's IP address or both Sender's IP address and content based detection

Options: email-content, sender-ipaddr-reputation-only

flag-subject-stamp

Text to add to spam emails' subject (depends on action chosen for detected spam)

Type: A string of alphanumeric characters with space between them

flag-suspected-spam- subject-stamp

Text to add to suspected spam emails subject (depends on action chosen for detected spam)

Type: A string of alphanumeric characters with space between them

log

Tracking options for spam emails: log, alert or none

Options: none, log, alert

mode

Anti-Spam blade mode: on, off

Options: on, off

specify-suspected- spam-settings

Handle suspected spam emails differently from spam emails

Type: Boolean (true/false)

suspected-spam-log

Tracking options for suspected spam emails: log, alert or none

Options: none, log, alert

Example

set antispam mode on detection-method email-content log none action-spam-email-content block flag-subject-stamp several words detect-mode true specify-suspected-spam-settings true suspected-spam-log none action-suspected-spam-email-content block flag-suspected-spam-subject-stamp several words