Skip to main content
cfirpo_FTNT
Staff
Staff
November 4, 2016

Technical Tip: Enable logging for Spam Filter/Email Filter profile

  • November 4, 2016
  • 0 replies
  • 1271 views

Description


This article describes how to enable email and spam filter logs. By default, the Spam Filter/Email Filter logging is disabled. This prevents excessive login on the device and is to be enabled as needed per protocol. For example,e SMTP, POP3, MAPI.

Scope

 

FortiGate.

 

Solution


To troubleshoot Spam Filter/Email Filter issues, enable logging on the protocols environment used for email.  See the example below to enable logs for SMTP.

 

For versions below 6.2:

 

config spamfilter profile
    edit default
    config smtp
        set log enable
end

 

For v6.2 and above:

 

config emailfilter profile
    edit default
    set spam-log enable
    config smtp
       set log-all enable
    end

 

To enable logging for other Spam Filter/Email Filter services (imap, pop3, mapi, MSN-Hotmail, Yahoo-mail, Gmail): Technical Tip: How to enable email and spam filter logs 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!