Checking the email filter log
To check the email filter log in the GUI:
- Go to Log & Report > Anti-Spam.
To check the email filter log in the CLI:
# execute log filter category 5
# execute log display
1 logs found.
1 logs returned.
1: date=2019-04-09 time=03:41:18 logid="0510020491" type="utm" subtype="emailfilter" eventtype="imap" level="notice" vd="vdom1" eventtime=1554806478647415130 policyid=1 sessionid=439 srcip=10.1.100.22 srcport=39937 srcintf="port21" srcintfrole="undefined" dstip=172.16.200.45 dstport=143 dstintf="port17" dstintfrole="undefined" proto=6 service="IMAPS" profile="822881" action="blocked" from="testpc3@qa.fortinet.com" to="testpc3@qa.fortinet.com" recipient="testpc3" direction="incoming" msg="from ip is in ip blocklist.(path block ip 172.16.200.9)" subject="testcase822881" size="525" attachment="no"