Fortinet white logo
Fortinet white logo

CLI Reference

config emailfilter bword

config emailfilter bword

Configure AntiSpam banned word list.

config emailfilter bword
    Description: Configure AntiSpam banned word list.
    edit <id>
        set comment {var-string}
        config entries
            Description: Spam filter banned word.
            edit <id>
                set action [spam|clear]
                set language [western|simch|...]
                set pattern {string}
                set pattern-type [wildcard|regexp]
                set score {integer}
                set status [enable|disable]
                set where [subject|body|...]
            next
        end
        set fabric-force-sync [enable|disable]
        set fabric-object [enable|disable]
        set fabric-object-source [member|local|...]
        set name {string}
        set uuid {uuid}
    next
end

config emailfilter bword

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Maximum length: 255

fabric-force-sync *

Enable/disable forced synchronization of configuration objects from the root FortiGate unit to the downstream devices. Configuration conflict check is skipped.

option

-

disable

Option

Description

enable

Enable forced synchronization of configuration objects from the root FortiGate unit to the downstream devices.

disable

Disable forced synchronization of configuration objects from the root FortiGate unit to the downstream devices.

fabric-object *

Security Fabric global object setting.

option

-

disable

Option

Description

enable

Object is set as a security fabric-wide global object.

disable

Object is local to this security fabric member.

fabric-object-source *

Source of truth for fabric object.

option

-

root

Option

Description

member

Source of truth for this object is a non-root member of fabric.

local

Source of truth for this object is this security fabric member.

root

Source of truth for this object is the root of the fabric.

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table.

string

Maximum length: 63

uuid *

Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

uuid

Not Specified

00000000-0000-0000-0000-000000000000

* This parameter may not exist in some models.

config entries

Parameter

Description

Type

Size

Default

action

Mark spam or good.

option

-

spam

Option

Description

spam

Mark as spam email.

clear

Mark as good email.

id

Banned word entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

language

Language for the banned word.

option

-

western

Option

Description

western

Western.

simch

Simplified Chinese.

trach

Traditional Chinese.

japanese

Japanese.

korean

Korean.

french

French.

thai

Thai.

spanish

Spanish.

pattern

Pattern for the banned word.

string

Maximum length: 127

pattern-type

Wildcard pattern or regular expression.

option

-

wildcard

Option

Description

wildcard

Wildcard pattern.

regexp

Perl regular expression.

score

Score value.

integer

Minimum value: 1 Maximum value: 99999

10

status

Enable/disable status.

option

-

enable

Option

Description

enable

Enable status.

disable

Disable status.

where

Component of the email to be scanned.

option

-

all

Option

Description

subject

Banned word in email subject.

body

Banned word in email body.

all

Banned word in both subject and body.

config emailfilter bword

config emailfilter bword

Configure AntiSpam banned word list.

config emailfilter bword
    Description: Configure AntiSpam banned word list.
    edit <id>
        set comment {var-string}
        config entries
            Description: Spam filter banned word.
            edit <id>
                set action [spam|clear]
                set language [western|simch|...]
                set pattern {string}
                set pattern-type [wildcard|regexp]
                set score {integer}
                set status [enable|disable]
                set where [subject|body|...]
            next
        end
        set fabric-force-sync [enable|disable]
        set fabric-object [enable|disable]
        set fabric-object-source [member|local|...]
        set name {string}
        set uuid {uuid}
    next
end

config emailfilter bword

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Maximum length: 255

fabric-force-sync *

Enable/disable forced synchronization of configuration objects from the root FortiGate unit to the downstream devices. Configuration conflict check is skipped.

option

-

disable

Option

Description

enable

Enable forced synchronization of configuration objects from the root FortiGate unit to the downstream devices.

disable

Disable forced synchronization of configuration objects from the root FortiGate unit to the downstream devices.

fabric-object *

Security Fabric global object setting.

option

-

disable

Option

Description

enable

Object is set as a security fabric-wide global object.

disable

Object is local to this security fabric member.

fabric-object-source *

Source of truth for fabric object.

option

-

root

Option

Description

member

Source of truth for this object is a non-root member of fabric.

local

Source of truth for this object is this security fabric member.

root

Source of truth for this object is the root of the fabric.

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table.

string

Maximum length: 63

uuid *

Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

uuid

Not Specified

00000000-0000-0000-0000-000000000000

* This parameter may not exist in some models.

config entries

Parameter

Description

Type

Size

Default

action

Mark spam or good.

option

-

spam

Option

Description

spam

Mark as spam email.

clear

Mark as good email.

id

Banned word entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

language

Language for the banned word.

option

-

western

Option

Description

western

Western.

simch

Simplified Chinese.

trach

Traditional Chinese.

japanese

Japanese.

korean

Korean.

french

French.

thai

Thai.

spanish

Spanish.

pattern

Pattern for the banned word.

string

Maximum length: 127

pattern-type

Wildcard pattern or regular expression.

option

-

wildcard

Option

Description

wildcard

Wildcard pattern.

regexp

Perl regular expression.

score

Score value.

integer

Minimum value: 1 Maximum value: 99999

10

status

Enable/disable status.

option

-

enable

Option

Description

enable

Enable status.

disable

Disable status.

where

Component of the email to be scanned.

option

-

all

Option

Description

subject

Banned word in email subject.

body

Banned word in email body.

all

Banned word in both subject and body.