test security utm anti-spam
Syntax
test security utm anti-spam ip-check <test-IP> <test-IP> test security utm anti-spam.
Description
Use this command to check if the IP (Internet Protocol) is a spam source or it is a configuration problem when the device doesn't block the spam. The anti-spam feature requires internet connectivity with the Spam Block List (SBL) server. Domain Name Service (DNS) must be available to access the SBL server.
Options
test-IP | Supports both IPv4 and IPv6. |
Required Privilege Level
view
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Table 1 lists the output
fields for the test security utm anti-spam
command. Output
fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
|
Spam block list (SBL) contains the list of the disallowed IPs. |
|
The firewall performs SBL lookups through the Domain Name Service (DNS) protocol. |
Sample Output
test security utm anti-spam
The following examples test IP 1.0.0.1 in SBL server msgsecurity.juniper.net through DNS server 172.29.151.60:
user@host> test security utm anti-spam ip-check 1.0.0.1 UTM anti-spam IP-check result: SBL Server: msgsecurity.juniper.net DNS Server: 172.29.151.60 Test result for IP check: SPAM (Match sbl server blacklist)
command-name
The following examples test IP 1.0.0.2 in SBL server msgsecurity.juniper.net through DNS server 172.29.151.60:
user@host>test security utm anti-spam ip-check 1.0.0.2 UTM anti-spam IP-check result: SBL Server: msgsecurity.juniper.net DNS Server: 172.29.151.60 Test result for IP check: NON SPAM (No match)
command-name
The following examples test IP 1.0.0.2 in SBL server msgsecurity.juniper.net through DNS server 172.29.151.60:
user@host>test security utm anti-spam ip-check 1.0.0.2 UTM anti-spam IP-check result: SBL Server: msgsecurity.juniper.net DNS Server: 172.29.151.60 Test result for IP check: NON SPAM (DNS error)
command-name
The following examples test IP 1.0.0.3 in SBL server msgsecurity.juniper.net through DNS server 172.29.151.66:
user@host>test security utm anti-spam ip-check 1.0.0.3 UTM anti-spam IP-check result: SBL Server: msgsecurity.juniper.net DNS Server: 172.29.151.66 Test result for IP check: NON SPAM (Timeout error)
command-name
The following examples test IP 1.0.0.4 in SBL server msgsecurity.juniper.net through DNS server 172.29.151.66:
user@host>test security utm anti-spam ip-check 1.0.0.4 UTM anti-spam IP-check result: SBL Server: msgsecurity.juniper.net DNS Server: 172.29.151.66 Test result for IP check: NON SPAM (Anti-Spam is not enable)
command-name
The following examples test IP 1.0.0.4 in SBL server msgsecurity.juniper.net through DNS server 172.29.151.66:
user@host>test security utm anti-spam ip-check 1.0.0.4 UTM anti-spam IP-check result: SBL Server: msgsecurity.juniper.net DNS Server: 172.29.151.66 Test result for IP check: No license
Release Information
Command introduced in Junos OS Release 20.2.