Chapter 24 Anti-Spam

Table 119 Input Values for White and Black list Anti-Spam Commands (continued)

LABEL

DESCRIPTION

rule_number

The index number of an anti-spam white or black list entry. 1 - X where X is the

 

highest number of entries the ZyWALL model supports. See the ZyWALL’s User’s

 

Guide for details.

 

 

subject

A keyword in the content of the e-mail Subject headers. Use up to 63 ASCII

 

characters. Spaces are not allowed, although you could substitute a question mark

 

(?). See Section 24.2.3.2 on page 216 for more details.

 

 

Use the white list to identify legitimate e-mail and the black list to identify spam e-mail. The following table describes the commands for configuring the white list and black list. You must use the configure terminal command to enter the configuration mode before you can use these commands.

Table 120 Commands for Anti-spam White and Black Lists

COMMAND

DESCRIPTION

[no] anti-spam white-list activate

Turns the white list checking on or off. Turn on the white list to

 

forward e-mail that matches (an active) white list entry without

 

doing any more anti-spam checking on that individual e-mail.

 

 

[no] anti-spam white-list [rule_number] ip-

Adds, edits, or removes a white list entry to check e-mail for a

address ip subnet_mask {activatedeactivate}

specific source or relay IP address. Also turns the entry on or off.

[no] anti-spam white-list [rule_number] e-

Adds, edits, or removes a white list entry to check e-mail for a

mail email {activatedeactivate}

specific source e-mail address or domain name. Also turns the

 

entry on or off.

 

 

[no] anti-spam white-list [rule_number] mail-

Adds, edits, or removes a white list entry to check e-mail for

header mail-header mail-header-value

specific header fields and values. Also turns the entry on or off.

{activatedeactivate}

 

[no] anti-spam white-list [rule_number]

Adds, edits, or removes a white list entry to check e-mail for

subject subject {activatedeactivate}

specific content in the subject line. Also turns the entry on or off.

[no] anti-spam black-list activate

Turns the black list checking on or off. Turn on the black list to treat

 

e-mail that matches (an active) black list entry as spam.

[no] anti-spam black-list [rule_number] ip-

Adds, edits, or removes a black list entry to check e-mail for a

address ip subnet_mask {activatedeactivate}

specific source or relay IP address. Also turns the entry on or off.

[no] anti-spam black-list [rule_number] e-

Adds, edits, or removes a black list entry to check e-mail for a

mail email {activatedeactivate}

specific source e-mail address or domain name. Also turns the

 

entry on or off.

[no] anti-spam black-list [rule_number] mail-

Adds, edits, or removes a black list entry to check e-mail for

header mail-header mail-header-value

specific header fields and values. Also turns the entry on or off.

{activatedeactivate}

 

[no] anti-spam black-list [rule_number]

Adds, edits, or removes a black list entry to check e-mail for

subject subject {activatedeactivate}

specific content in the subject line. Also turns the entry on or off.

anti-spam tag black-list [tag]

Configures a message or label (up to 15 ASCII characters) to add

 

to the mail subject of e-mails that match an anti-spam black list

 

entry.

 

 

show anti-spam white-list [status]

Displays the current anti-spam white list. Use status to show the

 

activation status only.

show anti-spam black-list [status]

Displays the current anti-spam black list. Use status to show the

 

activation status only.

 

 

show anti-spam tag black-list

Show the configured anti-spam black list tag.

[no] anti-spam xheader {white-list black-

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

list} mail-header mail-header-value

match the ZyWALL’s spam white list or black list.

show anti-spam xheader {white-list black-

Display the name and value for the X-Header to add to e-mails that

list}

match the ZyWALL’s spam white list or black list.

 

215

ZyWALL (ZLD) CLI Reference Guide