Cisco Cisco Email Security Appliance X1070 Betriebsanweisung
9-79
Cisco AsyncOS 9.0 for Email User Guide
Chapter 9 Using Message Filters to Enforce Email Policies
Attachment Scanning
The optional comment is text that is added to the message, much like a footer, and it can contain Message
Filter Action Variables (see
Filter Action Variables (see
).
Table 9-8
Message Filter Actions for Attachment Filtering
Action
Syntax Description
Drop Attachments
by Name
by Name
drop-attachments-by-name
(<regular expression>[,
<optional comment>])
Drops all attachments on messages that have a
filename that matches the given regular
expression. Archive file attachments (zip, tar)
will be dropped if they contain a file that
matches. See
filename that matches the given regular
expression. Archive file attachments (zip, tar)
will be dropped if they contain a file that
matches. See
.
Drop Attachments
by Type
by Type
drop-attachments-by-type
(<MIME type>[, <optional
comment>])
Drops all attachments on messages that have a
MIME type, determined by either the given
MIME type or the file extension. Archive file
attachments (zip, tar) will be dropped if they
contain a file that matches.
MIME type, determined by either the given
MIME type or the file extension. Archive file
attachments (zip, tar) will be dropped if they
contain a file that matches.
Drop Attachments
by File Type
by File Type
drop-attachments-by-filetype
(<fingerprint name>[,
<optional comment>])
Drops all attachments on messages that match
the given “fingerprint” of the file. Archive file
attachments (zip, tar) will be dropped if they
contain a file that matches. For more
information, see
the given “fingerprint” of the file. Archive file
attachments (zip, tar) will be dropped if they
contain a file that matches. For more
information, see
Drop Attachments
by MIME Type
by MIME Type
drop-attachments-by-mimetype
(<MIME type>[, <optional
comment>])
Drops all attachments on messages that have a
given MIME type. This action does not attempt
to ascertain the MIME type by file extension
and so it also does not examine the contents of
archives.
given MIME type. This action does not attempt
to ascertain the MIME type by file extension
and so it also does not examine the contents of
archives.
Drop Attachments
by Size
by Size
drop-attachments-by-size
(<number>[, <optional
comment>])
Drops all attachments on the message that, in
raw encoded form, are equal to or greater than
the size (in bytes) given. Note that for archive
or compressed files, this action does not
examine the uncompressed size, but rather the
size of the actual attachment itself.
raw encoded form, are equal to or greater than
the size (in bytes) given. Note that for archive
or compressed files, this action does not
examine the uncompressed size, but rather the
size of the actual attachment itself.
Attachment
Scanning
Scanning
drop-attachments-where-contai
ns (<regular expression>[,
<optional comment>])
Drops all attachments on message that contain
the regular expression. Archive files (zip, tar)
will be dropped if any of the files they contain
match the regular expression pattern.
the regular expression. Archive files (zip, tar)
will be dropped if any of the files they contain
match the regular expression pattern.
Drop Attachments
by Dictionary
Matches
by Dictionary
Matches
drop-attachments-where-dictio
nary-match(<dictionary name>)
This filter action strips attachments based on
matches to dictionary terms. If the terms in the
MIME parts considered to be an attachment
match a dictionary term (and the user-defined
threshold is met), the attachment is stripped
from the email. See
matches to dictionary terms. If the terms in the
MIME parts considered to be an attachment
match a dictionary term (and the user-defined
threshold is met), the attachment is stripped
from the email. See
.