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

config emailfilter iptrust

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table.

string

Maximum length: 63

comment

Optional comments.

var-string

Maximum length: 255

config entries

Parameter

Description

Type

Size

Default

status

Enable/disable status.

option

-

enable

Option

Description

enable

Enable status.

disable

Disable status.

id

Trusted IP entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

addr-type

Type of address.

option

-

ipv4

Option

Description

ipv4

IPv4 Address type.

ipv6

IPv6 Address type.

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

config emailfilter iptrust

config emailfilter iptrust

Configure AntiSpam IP trust.

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

config emailfilter iptrust

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

name

Name of table.

string

Maximum length: 63

comment

Optional comments.

var-string

Maximum length: 255

config entries

Parameter

Description

Type

Size

Default

status

Enable/disable status.

option

-

enable

Option

Description

enable

Enable status.

disable

Disable status.

id

Trusted IP entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

addr-type

Type of address.

option

-

ipv4

Option

Description

ipv4

IPv4 Address type.

ipv6

IPv6 Address type.

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