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

Technical Tip: How to collect the sandboxclid debug output in the FortiMail

  • June 4, 2025
  • 0 replies
  • 389 views
Description This article describes how to collect the sandboxclid debug output in FortiMail.
Scope FortiMail.
Solution
  1. Run the following CLI command in FortiMail, and FortiMail will write the output of the CLI command sandboxclid to the trace log in FortiMail.


diagnose debug application sandboxclid to-file

diagnose debug application sandboxclid enable

diagnose debug application sandboxclid 65

 

cysaw_0-1748920550473.png

 

To enable debug logs in FortiMail v7.6.3 and above:

 

diagnose debug enable

diagnose debug application sandboxclid enable

diagnose debug application sandboxclid level 65

diagnose debug application sandboxclid to-file

 

  1. Wait for the issue to be reproduced.

  2. If the issue needs some time to reproduce or happen, download the trace log in the FortiMail at System -> Utility -> Trace log every two days (recommended) to prevent any important output from being missing.

  3. Once the issue is reproduced, download the trace log at System -> Utility -> Trace log and provide the trace log to Fortinet Support.

 

After collecting logs, run the following commands to disable the debug processes:

 

diagnose debug application sandboxclid level 0

diagnose debug application sandboxclid disable

diagnose debug disable