Skip to main content
cysaw
Staff & Editor
Staff & Editor
June 4, 2025

Troubleshooting Tip: Configuration for the 'UNSEEN' error in FortiMail’s log

  • June 4, 2025
  • 0 replies
  • 426 views
Description This article provides the best configuration for the 'UNSEEN' error in FortiMail’s log.
Scope FortiMail.
Solution

If the error below is observed in the FortiMail’s cross-search log, it might be due to the duration of the FortiSandbox Scan timeout in the FortiMail being too short for the FortiSandbox to complete the file scanning and return the result to FortiMail:' Email [Session ID] is expired, 30 queries made, UNSEEN: File <File name>, 600s used'.

 

Snipaste_2025-06-04_14-18-44.png

 

The issue may be encountered in the following scenarios:

  • FortiSandbox tracer and rating engines update.
  • FortiSandbox is busy with high-pending jobs.

 

In FortiMail, navigate to System -> FortiSandbox to configure the scan timeout to 30 minutes because 30 minutes is the recommended value for the FortiSandbox to complete the URL/File scanning.


cysaw_0-1748997894077.png

 

Or via the CLI:

 

config system fortisandbox

    set scan-timeout
    <integer> timeout value before discarding unfinished scan tasks, 6 to 360 minutes, default 30 minutes

    --- current value ---
    scan-timeout: 15

    set scan-timeout 30

end