Chapter 10 Configuration Commands

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.

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

The following table describes the fields displayed using the config display set command in the example above.

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

Shows the number of rules in this set,

rules

 

 

 

 

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.

 

 

 

ANTI_SPAM

Phishing Mail Tag

Shows the tag the antispam service attaches to mail identified

 

 

as phishing mail.

 

 

 

ANTI_SPAM

Action

Shows the action taken when the antispam service identifies

 

 

mail as spam.

 

 

ANTI_SPAM Disable External

Shows whether an external database of known spam

Database

 

characteristics is used or not.

 

 

ANTI_SPAM Action for Query

Shows the action taken when a query to an external database

timeout

 

times out.

 

 

 

 

81

ZyWALL (ZyNOS) CLI Reference Guide