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

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

next

end

config emailfilter bword

Parameter

Description

Type

Size

name

Name of table.

string

Not Specified

comment

Optional comments.

var-string

Not Specified

config entries

Parameter

Description

Type

Size

status

Enable/disable status.

option

-

Option

Description

enable

Enable status.

disable

Disable status.

pattern

Pattern for the banned word.

string

Not Specified

pattern-type

Wildcard pattern or regular expression.

option

-

Option

Description

wildcard

Wildcard pattern.

regexp

Perl regular expression.

action

Mark spam or good.

option

-

Option

Description

spam

Mark as spam email.

clear

Mark as good email.

where

Component of the email to be scanned.

option

-

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

-

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

config emailfilter bword

config emailfilter bword

Configure AntiSpam banned word list.

config emailfilter bword

Description: Configure AntiSpam banned word list.

edit <id>

set name {string}

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

next

end

config emailfilter bword

Parameter

Description

Type

Size

name

Name of table.

string

Not Specified

comment

Optional comments.

var-string

Not Specified

config entries

Parameter

Description

Type

Size

status

Enable/disable status.

option

-

Option

Description

enable

Enable status.

disable

Disable status.

pattern

Pattern for the banned word.

string

Not Specified

pattern-type

Wildcard pattern or regular expression.

option

-

Option

Description

wildcard

Wildcard pattern.

regexp

Perl regular expression.

action

Mark spam or good.

option

-

Option

Description

spam

Mark as spam email.

clear

Mark as good email.

where

Component of the email to be scanned.

option

-

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

-

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