Chapter 24 Anti-Spam

Table 122 DNSBL Commands

COMMAND

DESCRIPTION

[no] anti-spam xheader dnsbl mail-header

Specify the name and value for the X-Header to add to e-mails with a

mail-header-value

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

 

 

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.

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

activate

Router(config)#

anti-spam dnsbl

Router(config)#

show anti-spam

dnsbl status

anti-spam dnsbl

status: yes

query-timeout pop3 forward-with-tag

Router(config)#

anti-spam dnsbl

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

ip-check-order forward

Router(config)#

anti-spam dnsbl

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

anti-spam tag dnsbl-timeout DNSBL-timeout

Router(config)#

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

0

 

 

no timeout:

 

 

timeout: 0

 

 

no response: 0

218

 

ZyWALL (ZLD) CLI Reference Guide