ZyXEL Communications 4.04 Manuel D’Utilisation
Chapter 10 Configuration Commands
ZyWALL (ZyNOS) CLI Reference Guide
81
10.3.2 Anti-spam Example
This example shows how to set up an anti-spam blacklist filter, which is set to active, with an
IP address of 192.168.1.33, and subnet mask of 255.255.255.255.
IP address of 192.168.1.33, and subnet mask of 255.255.255.255.
The following table describes the fields displayed using the config display set
command in the example above.
command in the example above.
ras> config edit anti-spam rule 2 ip 2 active 1 address 192.168.1.33 netmask
255.255.255.255
ras> config save anti-spam
ras> config display anti-spam
ACL set header information:
ANTI_SPAM ACL set number: 1
ANTI_SPAM ACL set number of rules: 2
ANTI_SPAM ACL set name: Anti-Spam
ACL set ANTI-SPAM Information:
ANTI_SPAM ANTI_SPAM:DISABLE, WhiteList:DISABLE, BlackList:DISABLE
ANTI_SPAM SPAM Mail Tag:[SPAM]
ANTI_SPAM Phishing Mail Tag:[PHISHING]
ANTI_SPAM Action:Add Tag to SMTP/POP3 SPAM Mail
ANTI_SPAM Disable External Database
ANTI_SPAM Action for Query timeout:Add Tag to SMTP/POP3 SPAM Mail
ACL rule header information:
ANTI_SPAM ACL rule number: 1
ANTI_SPAM ACL rule: White Rule
ACL rule header information:
ANTI_SPAM ACL rule number: 2
ANTI_SPAM ACL rule: Black Rule
ANTI_SPAM Index:0, flags:1, IP:192.168.1.33 ,Netmask:255.255.255.255
Table 32 config display set <entry#>
LABEL
DESCRIPTION
ANTI_SPAM ACL set number
Shows the index of this set.
ANTI_SPAM ACL set number of
rules
rules
Shows the number of rules in this set,
ANTI_SPAM ACL set name
Shows the name of the set.
ANTI_SPAM
Shows whether the anti-spam function is enabled or not.
WhiteList
Shows whether the whitelist service is enabled or not.
BlackList
Shows whether the blacklist function is enabled or not.
ANTI_SPAM SPAM Mail Tag
Shows the tag the antispam service attaches to mail identified
as spam.
as spam.
ANTI_SPAM Phishing Mail Tag
Shows the tag the antispam service attaches to mail identified
as phishing mail.
as phishing mail.
ANTI_SPAM Action
Shows the action taken when the antispam service identifies
mail as spam.
mail as spam.
ANTI_SPAM Disable External
Database
Database
Shows whether an external database of known spam
characteristics is used or not.
characteristics is used or not.
ANTI_SPAM Action for Query
timeout
timeout
Shows the action taken when a query to an external database
times out.
times out.