Configuring profiles : Configuring antispam profiles and antispam action profiles : Managing antispam profiles : Configuring scan conditions
Configuring scan conditions
The Scan Conditions section of antispam profiles lets you configure conditions that cause the FortiMail unit to omit antispam scans, or to apply some antispam scans to PDF attachments.
To configure scan condition options
1. When configuring an antispam profile, click the arrow to expand Scan Conditions in the AntiSpam Profile dialog.
2. Configure the following:
 
GUI item
Description
Max message size to scan
Enter the maximum size of email messages, in bytes, that the FortiMail unit will scan for spam. Messages larger than the set size are not scanned for spam.
To disable the size limit, causing all messages to be scanned, regardless of size, enter 0.
Note: Resource requirements for scanning messages increase with the size of the email message. If the spam you receive tends not to be smaller than a certain size, consider limiting antispam scanning to messages under this size to improve performance.
Bypass scan on SMTP authentication
Enable to bypass spam scanning for authenticated SMTP connections.
Note: If you can trust that authenticating SMTP clients are not a source of spam, consider enabling this option to improve performance.
Scan PDF attachment
Spammers may attach a PDF file to an otherwise empty message to get their email messages past spam safeguards. The PDF file contains the spam information. Since the message body contains no text, antispam scanners cannot determine if the message is spam.
Enable this option to use the heuristic, banned word, and image spam scans to inspect the first page of PDF attachments.
This option applies only if you have enabled and configured heuristic, banned word, and/or image spam scans. For information on configuring those scans, see “Configuring heuristic options”, “Configuring banned word options”, and “Configuring image spam options”.
Apply default action without scan upon policy match
Select this option to take the default antispam action right away without applying other antispam filters if the email matches the relevant IP or recipient policy.