Chapter 44 Anti-Spam
ZyWALL Series CLI Reference Guide
408
The following table identifies the values required for many of these commands. Other input values are
discussed with the corresponding commands.
This table describes the DNSBL commands.
Table 218 Input Values for DNSBL Commands
LABEL DESCRIPTION
dnsbl_domain
A domain that is maintaining a DNSBL. You may use 0-254 alphanumeric characters, or
dashes (-).
Table 219 DNSBL Commands
COMMAND DESCRIPTION
[no] anti-spam dnsbl activate
Turns DNSBL checking on or off.
anti-spam dnsbl [1..5] domain
dnsbl_domain {activate|deactivate}
Adds or edits a DNSBL domain for checking e-mail header IP
addresses.
no anti-spam dnsbl domain
dnsbl_domain
Removes the specified DNSBL domain.
anti-spam dnsbl query-timeout smtp
{drop | forward | forward-with-tag}
Sets how the Zyxel Device handles SMTP mail (mail going to an
e-mail server) if the queries to the DNSBL domains time out.
anti-spam dnsbl query-timeout pop3
{forward | forward-with-tag}
Sets how the Zyxel Device handles POP3 mail (mail coming to
an e-mail client) 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 | backward}
Configures the order in which anti-spam checks e-mail header
IP 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} [tag]
dnsbl configures the message or label to add to the beginning
of the mail subject of e-mails that have a sender or relay IP
address in the header that matches a black list maintained by
a DNSBL domain listed in the Zyxel Device.
dnsbl-timeout configures the message or label to add to the
mail subject of e-mails that the Zyxel Device 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 Zyxel Device’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 | pop3}
Displays how the Zyxel Device handles SMTP or POP3 mail if the
queries to the DNSBL domains time out.