get

as

as

Use this command to display information about your antispam configuration.

Syntax

get as <option>

Option

Description

 

 

blacklistaction

Display the action set for blacklisted items.

control autorelease

Display the spam auto release and auto delete account names.

control bayesian

Display the Bayesian training account names.

greylist

Display the greylist settings, including the TTL, greylist period, initial expiry

 

period, capacity, and exempt address list.

profile <profile_name>

Display the settings of an antispam profile.

spamreport

Display the quarantine spam report settings.

trusted antispam-mta

Display the IP addresses on the antispam-MTA list.

trusted mta

Display the IP addresses on the MTA list.

Examples

FortiMail-400 # get as blacklistaction blacklist action: reject

FortiMail-400 # get as control autorelease autorelease account is release-ctrl autodelete account is delete

FortiMail-400 # get as control bayesian "is spam" account is is-spam

"is not spam" account is is-not-spam "learn is spam" account is learn-is-spam "learn is not spam" account is learn-is-not-spam "training group" account is default-grp

FortiMail-400 # get as greylist

TTL: 10 (day)

Greylist period: 20 (minute)

Initial expiry period: 4 (hour)

Capacity: 40000

Greylist exempt:

FortiMail-400 # get as profile profile2 Antispam profiles

id=3, name=profile2 Heuristic filtering: enabled

action: default

lower level: -15.000000

upper level: 5.000000 Bayesian filtering: enabled

FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference

 

06-30004-0420-20080814

53

Page 53
Image 53
Fortinet 3.0 MR4 manual Get as option