ScanMail performs
real-time scan on messages as they are accessed if the message has
not been previously scanned using the latest pattern file and scan engine.
Procedure
Click Administration → Real-time Scan Settings.
Select Do not perform on-access scan on email
messages older than the following number of days to
limit the messages that are scanned based on the number of days.