Created on
06-30-2021
02:48 AM
Edited on
03-12-2025
10:47 AM
By
Stephen_G
Description
This article describes the command 'diagnose debug application emailfilter' and how to run anti-spam debugging.
Scope
FortiGate.
Solution
How to run antispam debugging:
Before FortiOS 6.4, the antispam debug command is:
diagnose debug application emailfilter -1
diagnose debug enable
In FortiOS 6.4 and later, the command has been changed to:
diagnose sys scanunit debug antispam
diagnose debug enable
Other complementary debug commands still same.
To stop the debug processes later, press Ctrl + C and enter diagnose debug disable.
The following commands are helpful debug commands for specific services and proxies:
diagnose debug application pop3 -1
diagnose debug application smtp -1
diagnose debug application imap -1
diagnose debug application proxy -1
It is possible to decide to add these debug commands when it is necessary to run anti spam debugging depends on what the service is to debug.
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.