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 name {string}
    next
end

config emailfilter bword

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Maximum length: 255

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table.

string

Maximum length: 63

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 name {string}
    next
end

config emailfilter bword

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Maximum length: 255

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table.

string

Maximum length: 63

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.