Fortinet white logo
Fortinet white logo

CLI Reference

config emailfilter iptrust

config emailfilter iptrust

Configure AntiSpam IP trust.

config emailfilter iptrust
    Description: Configure AntiSpam IP trust.
    edit <id>
        set comment {var-string}
        config entries
            Description: Spam filter trusted IP addresses.
            edit <id>
                set addr-type [ipv4|ipv6]
                set ip4-subnet {ipv4-classnet}
                set ip6-subnet {ipv6-network}
                set status [enable|disable]
            next
        end
        set name {string}
    next
end

config emailfilter iptrust

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

addr-type

Type of address.

option

-

ipv4

Option

Description

ipv4

IPv4 Address type.

ipv6

IPv6 Address type.

id

Trusted IP entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

ip4-subnet

IPv4 network address or network address/subnet mask bits.

ipv4-classnet

Not Specified

0.0.0.0 0.0.0.0

ip6-subnet

IPv6 network address/subnet mask bits.

ipv6-network

Not Specified

::/128

status

Enable/disable status.

option

-

enable

Option

Description

enable

Enable status.

disable

Disable status.

config emailfilter iptrust

config emailfilter iptrust

Configure AntiSpam IP trust.

config emailfilter iptrust
    Description: Configure AntiSpam IP trust.
    edit <id>
        set comment {var-string}
        config entries
            Description: Spam filter trusted IP addresses.
            edit <id>
                set addr-type [ipv4|ipv6]
                set ip4-subnet {ipv4-classnet}
                set ip6-subnet {ipv6-network}
                set status [enable|disable]
            next
        end
        set name {string}
    next
end

config emailfilter iptrust

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

addr-type

Type of address.

option

-

ipv4

Option

Description

ipv4

IPv4 Address type.

ipv6

IPv6 Address type.

id

Trusted IP entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

ip4-subnet

IPv4 network address or network address/subnet mask bits.

ipv4-classnet

Not Specified

0.0.0.0 0.0.0.0

ip6-subnet

IPv6 network address/subnet mask bits.

ipv6-network

Not Specified

::/128

status

Enable/disable status.

option

-

enable

Option

Description

enable

Enable status.

disable

Disable status.