Fortinet black logo

CLI Reference

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 Name Description Type Size
name Name of table. string Maximum length: 63
comment Optional comments. var-string Maximum length: 255

config entries

Parameter Name Description Type Size
status Enable/disable status.
enable: Enable status.
disable: Disable status.
option -
pattern Pattern for the banned word. string Maximum length: 127
pattern-type Wildcard pattern or regular expression.
wildcard: Wildcard pattern.
regexp: Perl regular expression.
option -
action Mark spam or good.
spam: Mark as spam email.
clear: Mark as good email.
option -
where Component of the email to be scanned.
subject: Banned word in email subject.
body: Banned word in email body.
all: Banned word in both subject and body.
option -
language Language for the banned word.
western: Western.
simch: Simplified Chinese.
trach: Traditional Chinese.
japanese: Japanese.
korean: Korean.
french: French.
thai: Thai.
spanish: Spanish.
option -
score Score value. integer Minimum value: 1 Maximum value: 99999

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 Name Description Type Size
name Name of table. string Maximum length: 63
comment Optional comments. var-string Maximum length: 255

config entries

Parameter Name Description Type Size
status Enable/disable status.
enable: Enable status.
disable: Disable status.
option -
pattern Pattern for the banned word. string Maximum length: 127
pattern-type Wildcard pattern or regular expression.
wildcard: Wildcard pattern.
regexp: Perl regular expression.
option -
action Mark spam or good.
spam: Mark as spam email.
clear: Mark as good email.
option -
where Component of the email to be scanned.
subject: Banned word in email subject.
body: Banned word in email body.
all: Banned word in both subject and body.
option -
language Language for the banned word.
western: Western.
simch: Simplified Chinese.
trach: Traditional Chinese.
japanese: Japanese.
korean: Korean.
french: French.
thai: Thai.
spanish: Spanish.
option -
score Score value. integer Minimum value: 1 Maximum value: 99999