Chapter 15 Unified Threat Management for FortiOS 5.0 : Email filter : Email filter examples : Configuring simple antispam protection : Creating an email filter profile
  
Creating an email filter profile
Most email filter settings are configured in an email filter profile. Email filter profiles are selected in firewall policies. This way, you can create multiple email filter profiles, and tailor them to the traffic controlled by the security policy in which they are selected. In this example, you will create one email filter profile.
To create an email filter profile — web-based manager
1. Go to Security Profiles > Email Filter > Profile.
2. Select the Create New icon in the Edit Email Filter Profile window title.
3. In the Name field, enter basic_emailfilter.
4. Select Enable Spam Detection and Filtering.
5. Ensure that IMAP, POP3, and SMTP are selected in the header row.
These header row selections enable or disable examination of each email traffic type. When disabled, the email traffic of that type is ignored by the FortiGate unit and no email filtering options are available.
6. Under FortiGuard Spam Filtering, enable IP Address Check.
7. Under FortiGuard Spam Filtering, enable URL Check.
8. Under FortiGuard Spam Filtering, enable E-mail Checksum Check.
9. Select OK to save the email filter profile.
To create an email filter profile — CLI
config spamfilter profile
edit basic_emailfilter
set options spamfsip spamfsurl spamfschksum
end