Chapter 3 Antispam Commands
Table 9 as Commands (continued)

COMMAND

DESCRIPTION

M

as failTolerance [timeout]

Sets the timeout interval for a rating server. If the rating

R+B

 

server times out a second time, this server is removed from

 

 

server list. Minimum timeout value is 0 and has no upper

 

 

limit.

 

 

 

 

as freeSession

Frees (deletes) all mail sessions.

R+B

as getServerList <yn>

Sends a request for a server list manually.

R+B

as rtnct clear

Clears the record of non-routed emails.

R

as rtnct disp

Counts how many emails were not routed and records the

R

 

reason for not routing.

 

as scoreTimeout <timeout>

Sets a timeout period for a query to a rating server for an

R+B

 

antispam score. timeout value is 0-30 seconds.

 

as xtag <tag><content>

Sets a message (xtag) in the mail header. The tag depends

R+B

 

on the mail application used. Examples are <X-Mailer> or

 

 

<X-MimeOLE>.

 

 

tag

 

 

content

 

 

 

 

The following table shows a list of default values.Table 10 as Default Values

VARIABLE

DEFAULT VALUE

asAction

1

antispam

disabled

failTolerance

120 seconds

scoreTimeout

7 seconds

3.2 Command Examples

Use this example to load the antispam module and configure it to filter email received from the WAN and addressed to a client on the LAN.

ras> as enable 1 Anti spam: enabled ras> as dir WAN1 LAN onFrom\To lan wan1 dmz wan2 wlan vpn

=======================================

lan

off

off

off

off

off

off

wan1

on

off

off

off

off

off

dmz

off

off

off

off

off

off

wan2

off

off

off

off

off

off

wlan

off

off

off

off

off

off

vpn

off

off

off

off

off

off

ras>

 

 

 

 

 

 

34

 

ZyWALL (ZyNOS) CLI Reference Guide