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
