Fortinet black logo

CLI Reference

config emailfilter dnsbl

config emailfilter dnsbl

Configure AntiSpam DNSBL/ORBL.

config emailfilter dnsbl
    Description: Configure AntiSpam DNSBL/ORBL.
    edit <id>
        set comment {var-string}
        config entries
            Description: Spam filter DNSBL and ORBL server.
            edit <id>
                set status [enable|disable]
                set server {string}
                set action [reject|spam]
            next
        end
        set name {string}
    next
end

config emailfilter dnsbl

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

DNSBL/ORBL entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

server

DNSBL or ORBL server name.

string

Maximum length: 127

action

Reject connection or mark as spam email.

option

-

spam

Option

Description

reject

Reject the connection.

spam

Mark as spam email.

config emailfilter dnsbl

Configure AntiSpam DNSBL/ORBL.

config emailfilter dnsbl
    Description: Configure AntiSpam DNSBL/ORBL.
    edit <id>
        set comment {var-string}
        config entries
            Description: Spam filter DNSBL and ORBL server.
            edit <id>
                set status [enable|disable]
                set server {string}
                set action [reject|spam]
            next
        end
        set name {string}
    next
end

config emailfilter dnsbl

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

DNSBL/ORBL entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

server

DNSBL or ORBL server name.

string

Maximum length: 127

action

Reject connection or mark as spam email.

option

-

spam

Option

Description

reject

Reject the connection.

spam

Mark as spam email.