Created on
01-22-2025
10:03 PM
Edited on
01-22-2025
11:47 PM
By
Anthony_E
| Description |
This article describes how to Customize FortiMailParser to Parse Deferred Email Logs Event Attribute. As of FortiSIEM v7.3.0, there is no predefined event type to filter or sort logs for deferred email messages from FortiMail. By default, the parser processes logs containing the substring stat=Deferred: as the event type FortiMail-Event-SMTP-Related. Other SMTP-related event types can be checked by navigating to ADMIN -> Device Support -> Event Types in FortiSIEM. |
| Scope | FortiSIEM v7.x+ |
| Solution |
Understanding the Default Parser: The default FortiMailParser, located under ADMIN -> Device Support -> Parsers, processes SMTP logs as shown in the example below:
<when test="$subtype = 'smtp'">
An example of a deferred email log:
<110>date=2021-01-17 time=14:42:35.156 device_id=FEVMXXXXXXXXXXXX log_id=0003024041 type=event subtype=smtp pri=information user=mail ui=mail action=NONE status=N/A session_id="XXXXXXXXXXXX-XXXXXXXXXXXX" msg="to=<user1@domain>,<user2@domain>, delay=00:32:51(tries=4), xdelay=00:00:30, mailer=esmtp, pri=903502, relay=domain.com. [W.X.Y.Z], dsn=A.B.C, stat=Deferred: Connection timed out with domain"
Steps to Parse Deferred Email Logs:
<case>
Conclusion: Customizing the FortiMailParser enables FortiSIEM to process and classify deferred email logs effectively. Following these steps, ensures proper handling and filtering of these logs for better visibility and operations. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.