Fortinet white logo
Fortinet white logo

CLI Reference

config spamfilter dnsbl

config spamfilter dnsbl

Configure AntiSpam DNSBL/ORBL.

config spamfilter dnsbl
    Description: Configure AntiSpam DNSBL/ORBL.
    edit <id>
        set name {string}
        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
    next
end

config spamfilter dnsbl

Parameter

Description

Type

Size

name

Name of table.

string

Maximum length: 35

comment

Optional comments.

var-string

Maximum length: 255

config entries

Parameter

Description

Type

Size

status

Enable/disable status.

option

-

Option

Description

enable

Enable status.

disable

Disable status.

server

DNSBL or ORBL server name.

string

Maximum length: 127

action

Reject connection or mark as spam email.

option

-

Option

Description

reject

Reject the connection.

spam

Mark as spam email.

config spamfilter dnsbl

config spamfilter dnsbl

Configure AntiSpam DNSBL/ORBL.

config spamfilter dnsbl
    Description: Configure AntiSpam DNSBL/ORBL.
    edit <id>
        set name {string}
        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
    next
end

config spamfilter dnsbl

Parameter

Description

Type

Size

name

Name of table.

string

Maximum length: 35

comment

Optional comments.

var-string

Maximum length: 255

config entries

Parameter

Description

Type

Size

status

Enable/disable status.

option

-

Option

Description

enable

Enable status.

disable

Disable status.

server

DNSBL or ORBL server name.

string

Maximum length: 127

action

Reject connection or mark as spam email.

option

-

Option

Description

reject

Reject the connection.

spam

Mark as spam email.