Skip to main content
ovoda
Staff
Staff
January 9, 2025

Technical Tip: How to filter emails with emoticons in the subject

Description

This article describes how to filter emails with emoticons in an email subject. Emoticons are usually not part of business communication and can be used by spammers for social purposes.

Scope FortiMail 6.4.x, 7.2.x, 7.4.x, 7.6.x.
Solution
  1. Create (or modify) a new Dictionary profile:

Profile -> Dictionary -> New.


1.png


Fill a name in Name field and in the section 'Dictionary Entries' select New.


2.png

Fill '[\x{1F000}-\x{1FFFF}]' (without the quotes) into the field 'Pattern' and disable 'Search body'. Then Create and Create.


3.png

 

  1. Set the Dictionary profile in an AntiSpam profile by editing an AntiSpam profile.


4.png

Enable the Dictionary feature and set the Dictionary profile. Also is possible to set an Action.


5.png

 

The Cross-search log:


log.png

 

    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