spamfilter : profile
 
profile
Use this command to configure UTM email filtering profiles for firewall policies. Email filtering profiles configure how Email filtering and FortiGuard Antispam is applied to sessions accepted by a firewall policy that includes the Email filtering profile.
Syntax
config spamfilter profile
edit <name_str>
set comment <comment_str>
set flow-based {enable | disable}
set spam-log {enable | disable}
set spam-bwl-table <index_int>
set spam-bword-threshold <value_int>
set spam-bword-table <index_int>
set spam-emaddr-table <index_int>
set spam-filtering {enable | disable}
set spam-iptrust-table <index_int>
set spam-mheader-table <index_int>
set spam-rbl-table <index_int>
set options {bannedword | spambwl | spamfschksum | spamfsip | spamfsphish | spamfssubmit | spamfsurl | spamhdrcheck | spamraddrdns | spamrbl}
config {imap | imaps | mapi | pop3 | pop3s | smtp | smtps}
set action {discard | pass | tag}
set log {enable | disable}
set tag-type {subject | header} [spaminfo]
set tag-msg <message_str>
set hdrip {enable | disable}
set local-override {enable | disable}
end
config {gmail | msn-hotmail | yahoo-mail}
set log {enable | disable}
end
end
Variable
Description
Default
<name_str>
Enter the name of the email filtering profile.
 
comment <comment_str>
Optionally enter a description of up to 63 characters of the email filter profile.
 
flow-based {enable | disable}
Enable or disable flow-based spam filtering.
disable
spam-bwl-table <index_int>
Enter the ID number of the email filter IP address black/white list to be used with the profile.
0
spam-log {enable | disable}
Enable or disable logging for email filtering.
disable
spam-bword-threshold <value_int>
If the combined scores of the banned word patterns appearing in an email message exceed the threshold value, the message will be processed according to the Spam Action setting.
10
spam-bword-table <index_int>
Enter the ID number of the email filter banned word list to be used.
0
spam-emaddr-table <index_int>
Enter the ID number of the email filter email address list to be used.
0
spam-filtering {enable | disable}
Enable or disable spam filtering.
disable
spam-iptrust-table <index_int>
Enter the ID number of the email filter IP trust list to be used with the profile.
0
spam-mheader-table <index_int>
Enter the ID number of the email filter MIME header list to be used with the profile.
0
spam-rbl-table <index_int>
Enter the ID number of the email filter DNSBL list to be used with the profile.
0
options {bannedword | spambwl | spamfschksum | spamfsip | spamfsphish | spamfssubmit | spamfsurl | spamhdrcheck | spamraddrdns | spamrbl}
Select actions, if any, the FortiGate unit will perform with email traffic.
bannedword — block email containing content in the banned word list.
spambwl — filter email using a black/white list.
spamfsphish — detect phishing URLs in email.
spamfsip — filter email using the FortiGuard Antispam filtering IP address blacklist.
spamfssubmit — add a link to the message body allowing users to report messages incorrectly marked as spam. If an email message is not spam, click the link in the message to report the false positive.
spamfsurl — filter email using the FortiGuard Antispam filtering URL blacklist.
spamhdrcheck — filter email using the MIME header list.
spamaddrdns — filter email using a return email DNS check.
spamrbl — filter email using configured DNS-based Blackhole List (DNSBL) and Open Relay Database List (ORDBL) servers.
Separate multiple options with a space. To remove an option from the list or add an option to the list, retype the list with the option removed or added.
spamfssubmit