Skip to main content
Anthony_E
Staff
Staff
Aug 17, 2020 7:18 AM UTC

Technical Tip: Cannot see Email filter logs after configuration

Description


This article describes how to enable logging for Email-filter.

 

Scope

 

FortiGate.

Solution


By default, logging is disabled for this feature.


To enable logging, follow:
For example, an anti-spam profile named test1 is created in the root VDO,M and SMTP is used for email servers.

 

config vdom
    edit root

 

For v6.2 and below:

 

 

config spamfilter profile
  edit test1
    show full-configuration
config smtp
    set log enable                <----- Enable logging.
end


For v6.2 and above:
   

config emailfilter profile
    edit test1
        show full-configuration
   config smtp
        set log-all enable            <----- Enable logging.
   end


Select different options under the config emailfilter profile to enable logging based on the protocol( imap/pop3/smtp/mapi/Msn-Hotmail/Gmail ) used for email servers.

Related article:

Technical Tip: How to enable email and spam filter logs

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024