FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Not applicable
Article Id 195121
Article
DescriptionBlocking email to users who recently left the organization.
Components
  • All FortiGate units running FortiOS 3.0.
Steps or Commands

After an employee has left an organization, the email server may still receive email; either Spam or other mail such as distribution lists or mailing lists, which they did not unsubscribe.

Using Mime Header spam check, you can enable the FortiGate unit to tag this incoming mail as spam to stop its travel either through the mail system or to an unattended mailbox.

Use the CLI commands config spamfilter mheader to configure these settings. See the following example you can use as a guideline.

config spamfilter mheader
 edit 1
   config entries
     edit 1
       set action spam
       set fieldbody "user@company.com"
       set fieldname "To"
       set pattern-type wildcard
     next
   end
end

Enable the spam header checking in the protection profile:

config firewall profile
 edit <profile_name>
   set smtp spamhdrcheck block
 next
end