Fortinet black 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 status [enable|disable]
                set pattern {string}
                set pattern-type [wildcard|regexp]
                set action [spam|clear]
                set where [subject|body|...]
                set language [western|simch|...]
                set score {integer}
            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

status

Enable/disable status.

option

-

enable

Option

Description

enable

Enable status.

disable

Disable status.

id

Banned word entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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.

action

Mark spam or good.

option

-

spam

Option

Description

spam

Mark as spam email.

clear

Mark as good email.

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.

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.

score

Score value.

integer

Minimum value: 1 Maximum value: 99999

10

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 status [enable|disable]
                set pattern {string}
                set pattern-type [wildcard|regexp]
                set action [spam|clear]
                set where [subject|body|...]
                set language [western|simch|...]
                set score {integer}
            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

status

Enable/disable status.

option

-

enable

Option

Description

enable

Enable status.

disable

Disable status.

id

Banned word entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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.

action

Mark spam or good.

option

-

spam

Option

Description

spam

Mark as spam email.

clear

Mark as good email.

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.

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.

score

Score value.

integer

Minimum value: 1 Maximum value: 99999

10