Fortinet black logo

CLI Reference

config emailfilter mheader

config emailfilter mheader

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

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.

fieldname

Pattern for header field name.

string

Not Specified

fieldbody

Pattern for the header field body.

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.

config emailfilter mheader

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

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.

fieldname

Pattern for header field name.

string

Not Specified

fieldbody

Pattern for the header field body.

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.