Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure AntiSpam MIME header.

  config emailfilter mheader
      Description: Configure AntiSpam MIME header.
      edit <id>
          set name {string}
          set comment {var-string}
          config entries
              Description: Spam filter mime header content.
              edit <id>
                  set status [enable|disable]
                  set fieldname {string}
                  set fieldbody {string}
                  set pattern-type [wildcard|regexp]
                  set action [spam|clear]
              next
          end
      next
  end

config emailfilter mheader

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 -
fieldname Pattern for header field name. string Maximum length: 63
fieldbody Pattern for the header field body. 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 -

Configure AntiSpam MIME header.

  config emailfilter mheader
      Description: Configure AntiSpam MIME header.
      edit <id>
          set name {string}
          set comment {var-string}
          config entries
              Description: Spam filter mime header content.
              edit <id>
                  set status [enable|disable]
                  set fieldname {string}
                  set fieldbody {string}
                  set pattern-type [wildcard|regexp]
                  set action [spam|clear]
              next
          end
      next
  end

config emailfilter mheader

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 -
fieldname Pattern for header field name. string Maximum length: 63
fieldbody Pattern for the header field body. 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 -