| #

## Configuring Attachment Blocking Targets

You can block attachments according to a specific name or according to an attachment type. ScanMail determines attachment type by the file name extension and true file type. Block attachments with two general strategies: either block all attachments and then exclude specified attachments or specify all the attachments to block.

### Procedure

1. Go to the Attachment Blocking screen by navigating to one of the following:
   - For Real-time scans: Attachment Blocking → Global Policy
   - For Manual scans: Manual Scan → Attachment Blocking
   - For Scheduled scans: Scheduled Scan → [Add or Edit] → Attachment Blocking
2. Click the Target tab.
   The Target screen displays.
3. Select from one of the following:
   - All attachments
     - Select Attachment types to exclude and/or Attachment names to exclude. Click Show details to specify specific types or names.
   - Specific attachments
     - Select Attachment types and/or Attachment names. Click Show details to specify specific types or names.
4. Select Block attachment types or names within compressed files.
5. Click Scan Restriction Criteria if performance improvement is required.
   - Number of layers of compression exceeds: Specify a number from 1 to 20 to use as the threshold for not scanning compression files. If the number of compression layers exceeds the specified number, the file is not scanned.
6. Click Save.