How to Configure and View FortiMail Log Messages

Log messages can be stored locally, remotely, or at both locations. For this recipe, we will focus on storing log messages locally on the hard disk of the FortiMail unit.

To ensure that the local hard disk has sufficient space for new log messages, regularly download backup copies of the oldest log files to your computer and then delete them from the FortiMail unit. For more information on downloading logs, see “Viewing log messages” on page 191 of the FortiMail Administrator Guide.

To store log files remotely, see “Configuring logging to a Syslog server or FortiAnalyzer unit” on page 635 of the Administrator Guide.

Configure Log Settings

To access your log messages on the web UI, your administrator account’s Domain must be System and your access profile must have Read or Read-Write permission in the Others category. For more information on permissions, see “About administrator account permission and domains” on page 267.

To configure logging to the local hard disk

  1. Go to Log and Report > Log Settings > Local Log Settings. Log Settings
  2. Select Enable.
  3. Enter the Log file size, Log time and select the hour of the day when the file rotation begins from the At hour dropdown menu.

    Important: Large log files may decrease display and search performance.

  4. Select the severity level that a log message must equal or exceed in order to be recorded from the Log level dropdown menu.
  5. Select your desired log option
  6. Select the types of logs you wish to record in the Logging Policy Configuration section and then select Apply.

    For more information on the event logs, see “Choosing which events to log” on page 635 of the Administrator Guide.

Monitoring Log Messages

Once you have configured your log messages, you can view the generated reports from the log data.

To view the list of log files and their contents

  1. Go to Monitor > Log.
  2. Select the tab corresponding to the log type you wish to view (History, Event, AntiVirus, AntiSpam, and Encryption). 
    Log Monitor Tabs
    Log Monitor Tabs
  3. Double-click on a log file to display the file’s log messages.

Share this recipe:

Facebooktwittergoogle_pluslinkedin

Leave a comment:

Before commenting, please read the site's comment policy. Only questions related to documentation will be answered. For other concerns, please contact Fortinet support.

  • Ruben Iamundo

    how can i read the banned word which blocked the mail message??