| #

## Advanced Scan Action Options

Configure advanced options to specify directories, message options, and further scanning.

#### Scan Actions: Advanced Options

Setting | Description
--- | ---
Macros | Advanced macro scanning supplements regular virus scanning. It uses heuristic scanning to detect macro viruses/malware or strips all detected macro codes. Heuristic scanning is an evaluative method of detecting viruses that uses pattern recognition and rules-based technologies to search for malicious macro code. Heuristic level Level 1 uses the most specific criteria, but detects the least macro codes. Level 4 detects the most macro codes, but uses the least specific criteria and may falsely identify safe macro code as harboring malicious macro code. Delete all macros detected by advanced macro scan: ScanMail deletes all of the macro codes that it detects
Quarantine Settings / Quarantine Directory | The directory where ScanMail will save quarantined messages
| ##### Note ScanMail supports UNC paths (except on Exchange Edge servers) when configuring directory settings. The logged on user account must have full control permissions for the UNC path specified. For security risk scans and URL analysis, configure the Advanced threat quarantine directory to specifically manage possible targeted attack threats.
Backup Settings / Backup Directory | The directory where ScanMail will save backup messages
| ##### Note ScanMail supports UNC paths (except on Exchange Edge servers) when configuring directory settings. The logged on user account must have full control permissions for the UNC path specified.
Replacement Settings | The Replacement file name and Replacement text that ScanMail will use when a violation or incident occurs. ScanMail will replace the file/text with the replacement settings that you configure.
Forward Email Message Settings | The email address(es) and email message content that ScanMail forwards after detecting a violation or incident
Unscannable Message Parts | Actions for encrypted and password protected files and files not in the scan restriction criteria The Replacement file name and Replacement text that ScanMail will use when an unscannable message arrives. ScanMail will replace the file/text with the replacement settings that you configure.