Fortinet white logo
Fortinet white logo

CLI Reference

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 Name Description Type Size
name Name of table. string Maximum length: 63
comment Optional comments. var-string Maximum length: 255

config entries

Parameter Name Description Type Size
status Enable/disable status.
enable: Enable status.
disable: Disable status.
option -
addr-type Type of address.
ipv4: IPv4 Address type.
ipv6: IPv6 Address type.
option -
ip4-subnet IPv4 network address or network address/subnet mask bits. ipv4-classnet Not Specified
ip6-subnet IPv6 network address/subnet mask bits. ipv6-network Not Specified

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 Name Description Type Size
name Name of table. string Maximum length: 63
comment Optional comments. var-string Maximum length: 255

config entries

Parameter Name Description Type Size
status Enable/disable status.
enable: Enable status.
disable: Disable status.
option -
addr-type Type of address.
ipv4: IPv4 Address type.
ipv6: IPv6 Address type.
option -
ip4-subnet IPv4 network address or network address/subnet mask bits. ipv4-classnet Not Specified
ip6-subnet IPv6 network address/subnet mask bits. ipv6-network Not Specified