Protocols and actions
In an email filter profile, there are options to configure settings for SMTP, POP3, IMAP, and MAPI protocols. For each protocol, you can set an action to either discard (block), tag, or pass the log for that protocol. The action options vary per protocol. For the tag action, the spam email can be tagged with configured text in the subject or header.
|
|
Some IMAP clients, such as Outlook Express and Mozilla Thunderbird, do not update the message subject when it is different from the IMAP envelope and the body. As a result, subjects are not tagged in the email list, but they are still tagged in the preview pane. |
|
|
MAPI is only configurable in the CLI and with the proxy feature set. |
To configure protocols in an email filer:
config emailfilter profile
edit <name>
set feature-set {flow | proxy}
set spam-filtering enable
set options {bannedword spambal spamfsip spamfssubmit spamfschksum spamfsurl spamhelodns spamraddrdns spamrbl spamhdrcheck spamfsphish}
config smtp
set log-all {enable | disable}
set action {pass | tag | discard}
set tag-type {subject | header | spaminfo}
set tag-msg <string>
set hdrip {enable | disable}
set local-override {enable | disable}
end
config imap
set log-all {enable | disable}
set action {pass | tag}
set tag-type {subject | header | spaminfo}
set tag-msg <string>
end
config pop3
set log-all {enable | disable}
set action {pass | tag}
set tag-type {subject | header | spaminfo}
set tag-msg <string>
end
config mapi
set log-all {enable | disable}
set action {pass | discard}
end
next
end
|
|
The following options are available:
|
|
|
Set the tag type:
|
|
|
Subject text or header added to the spam email. |
|
|
Enable/disable SMTP email header IP checks for spamfsip, spamrbl, and spambal filters. |
|
|
Enable/disable local filter to override SMTP remote check result. |
For more information, see config emailfilter profile in the FortiOS CLI Reference.