Skip to main content
cysaw
Staff & Editor
Staff & Editor
September 4, 2026

Technical Tip: How to configure lesser number of log file rolled by FortiMail to be exported for backup purpose

Description

This article describes how to configure lesser number of log file rolled by FortiMail to be exported for backup purposes.

Scope

FortiMail.

Solution

  1. If exporting the log files from FortiMail is always required and downloading multiple log files directly from FortiMail is not supported (the download button will be greyed out), the following suggestion can be considered.

    26e765bd.png


  2. Navigate to Log & Report -> Log Setting -> Local and configure as per the screenshot.

    672183d8.png


  3. It is also possible to configure using the CLI command below:

config log setting local
set rotation-size 500 (MB)
set rotation-period 365 (Days)
end

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT