Created on
07-17-2023
12:09 AM
Edited on
08-05-2025
03:59 AM
By
Jean-Philippe_P
Description | This article describes how to use a dictionary profile to detect emails with an empty subject. |
Scope | All FortiMail versions. |
Solution |
^Subject: $
It is necessary to enable:
3. Go to Profile -> Content and edit the Content Policy in use -> Expand Content Monitor and Filtering menu -> New.
Result:
Note: To avoid false positive detections, it is necessary to add the below:
[EHeAdEr]
When using the Dictionary pattern, from\:.*\@customerdomain\.com.* and 'search header’, this will also check the headers of the original mail and the headers of other attached mails.
In a dictionary scan, the headers of each MIME part are also considered as email headers. It is necessary to include '[EHeAdEr]' in the pattern to search only the original email header (actual mail). For example, [EHeAdEr] From\:.*\@customerdomain\.com.*.
Note: The above RegEx uses a specialized match condition [EHeAdEr] that is unique to FortiMail and should be removed when testing pattern(s) with RegEx testing tools like www.regex101.com. |
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.