Chapter 24 Anti-Spam

This table describes the DNSBL commands.

Table 122 DNSBL Commands

COMMAND

DESCRIPTION

[no] anti-spam dnsbl activate

Turns DNSBL checking on or off.

anti-spam dnsbl [1..5] domain

Adds or edits a DNSBL domain for checking e-mail header IP addresses.

dnsbl_domain {activatedeactivate}

 

no anti-spam dnsbl domain dnsbl_domain

Removes the specified DNSBL domain.

anti-spam dnsbl query-timeout smtp {drop

Sets how the ZyWALL handles SMTP mail (mail going to an e-mail server)

forward forward-with-tag}

if the queries to the DNSBL domains time out.

anti-spam dnsbl query-timeout pop3

Sets how the ZyWALL handles POP3 mail (mail coming to an e-mail client)

{forward forward-with-tag}

if the queries to the DNSBL domains time out.

anti-spam dnsbl max-query-ip [1..5]

Sets up to how many sender and relay server IP addresses in the mail

 

header to check against the DNSBL.

 

 

anti-spam dnsbl ip-check-order {forward

Configures the order in which anti-spam checks e-mail header IP

backward}

addresses against the DNSBLs.

 

forward checks the first N IP addresses. Checking starts from the first

 

IP address in the mail header. This is the IP of the sender or the first

 

server that forwarded the mail.

 

backward checks the last N IP addresses. Checking starts from the

 

last IP address in the mail header. This is the IP of the last server that

 

forwarded the mail.

 

 

anti-spam tag {dnsbl dnsbl-timeout}

dnsbl configures the message or label to add to the beginning of the mail

[tag]

subject of e-mails that have a sender or relay IP address in the header

 

that matches a blacklist maintained by a DNSBL domain listed in the

 

ZyWALL.

 

dnsbl-timeoutconfigures the message or label to add to the mail

 

subject of e-mails that the ZyWALL forwards if queries to the DNSBL

 

domains time out.

 

Use up to 15 alphanumeric characters, underscores (_), colons (:), or

 

dashes (-).

 

 

show anti-spam dnsbl status

Displays the activation status of the anti-spam DNSBL checking.

show anti-spam dnsbl domain

Displays the ZyWALL’s configured anti-spam DNSBL domain entries.

show anti-spam dnsbl max-query-ip

Displays how many sender and relay server IP addresses in the mail

 

header anti-spam checks against the DNSBL.

 

 

show anti-spam dnsbl ip-check-order

Displays the order in which anti-spam checks e-mail header IP addresses

 

against the DNSBLs.

 

 

show anti-spam dnsbl query-timeout {smtp

Displays how the ZyWALL handles SMTP or POP3 mail if the queries to the

pop3}

DNSBL domains time out.

show anti-spam tag {dnsbl dnsbl-

dnsbl displays the anti-spam tag for e-mails that have a sender or relay

timeout}

IP address in the header that matches a blacklist maintained by a DNSBL

 

domain.

 

dnsbl-timeoutdisplays the message or label to add to the mail subject

 

of e-mails that the ZyWALL forwards if queries to the DNSBL domains

 

time out.

 

 

show anti-spam dnsbl statistics

Displays anti-spam DNSBL statistics for each configured DNSBL domain.

anti-spam dnsbl statistics flush

Clears the anti-spam DNSBL statistics for each configured DNSBL domain.

anti-spam dnsbl query-timeout time

Sets how long the ZyWALL waits for a reply from the DNSBL domains.

[1..10]

 

show anti-spam dnsbl query-timeout time

Displays how long the ZyWALL waits for a reply from the DNSBL domains.

 

217

ZyWALL (ZLD) CLI Reference Guide