Protocols and actions
In an email filtering profile, there are sections for SMTP, POP3, and IMAP protocols. In each section, you can set an action to either discard, tag, or pass the log for that protocol.
Protocol |
Available action |
---|---|
SMTP | Pass: Allow spam email to pass through. |
Tag: Tag spam email with configured text in the subject or header. | |
Discard: Discards (blocks) spam email. | |
POP3 & IMAP | Pass: Allow spam email to pass through. |
Tag: Tag spam email with configured text in the subject or header. | |
MAPI: | Pass: Allow spam email to pass through. |
Discard: Discards (blocks) spam email. |
For example, to tag spam SMTP email, use the following commands:
config emailfilter profile edit "smtpFilter" set spam-filtering enable set options <options> ... config smtp set log enable set action tag end next end
MAPI email filtering
MAPI is a proprietary protocol from Microsoft. It uses HTTPS to encapsulate email requests and responses between Microsoft Outlook clients and Microsoft Exchange servers. The configuration of MAPI email filters are only possible through the CLI.
To configure the MAPI email filter in the CLI:
config emailfilter profile edit "myMapiFilter" set spam-filtering enable set options spamfsip spamfssubmit spamfsurl spamfsphish config mapi set log enable set action "discard or pass" end next end