ZyXEL Communications 3.1 Security Camera User Manual


 
Chapter 24 Anti-Spam
ZyWALL (ZLD) CLI Reference Guide
218
24.2.4.1 DNSBL Example
This example:
Sets the ZyWALL to use “DNSBL-example.com” as a DNSBL.
Turns DNSBL checking on.
Sets the ZyWALL to forward POP3 mail with a tag if the queries to the DNSBL domains time out.
Sets the ZyWALL to check up to 4 sender and relay server IP addresses in e-mail headers against
the DNSBL.
Sets the ZyWALL to start DNSBL checking from the first IP address in the mail header.
Sets the DNSBL tag to “DNSBL”.
Sets the DNSBL timeout tag to “DNSBL-timeout”.
Displays the DNSBL statistics.
[no] anti-spam xheader dnsbl mail-header
mail-header-value
Specify the name and value for the X-Header to add to e-mails with a
sender or relay IP address in the header that matches a black list
maintained by a DNSBL domain in the ZyWALL’s list
show anti-spam xheader dnsbl Display the name and value for the X-Header to add to e-mails with a
sender or relay IP address in the header that matches a black list
maintained by a DNSBL domain in the ZyWALL’s list
Table 122 DNSBL Commands
COMMAND DESCRIPTION
Router(config)# anti-spam dnsbl domain DNSBL-example.com activate
Router(config)# show anti-spam dnsbl domain
No. Status
Domain
===========================================================================
1 yes
DNSBL-example.com
Router(config)# anti-spam dnsbl activate
Router(config)# show anti-spam dnsbl status
anti-spam dnsbl status: yes
Router(config)# anti-spam dnsbl query-timeout pop3 forward-with-tag
Router(config)# show anti-spam dnsbl query-timeout pop3
dnsbl query timeout action: forward-with-tag
Router(config)# anti-spam dnsbl max-query-ip 4
Router(config)# show anti-spam dnsbl max-query-ip
dnsbl max query ip: 4
Router(config)# anti-spam dnsbl ip-check-order forward
Router(config)# show anti-spam dnsbl ip-check-order
anti-spam dnsbl IP check order: forward
Router(config)# anti-spam tag dnsbl DNSBL
Router(config)# show anti-spam tag dnsbl
dnsbl tag: DNSBL
Router(config)# anti-spam tag dnsbl-timeout DNSBL-timeout
Router(config)# show anti-spam tag dnsbl-timeout
dnsbl-timeout tag: DNSBL-timeout
Router(config)# show anti-spam dnsbl statistics
DNSBL domain: 1
domain: DNSBL-example.com
average time: 0.00
total query: 0
spam: 0
clear: 0
no timeout: 0
timeout: 0
no response: 0