config emailfilter profile
Configure Email Filter profiles.
config emailfilter profile
Description: Configure Email Filter profiles.
edit <name>
set comment {var-string}
set feature-set [flow|proxy]
set replacemsg-group {string}
set spam-log [disable|enable]
set spam-log-fortiguard-response [disable|enable]
set spam-filtering [enable|disable]
set external [enable|disable]
set options {option1}, {option2}, ...
config imap
Description: IMAP.
set log-all [disable|enable]
set action [pass|tag]
set tag-type {option1}, {option2}, ...
set tag-msg {string}
end
config pop3
Description: POP3.
set log-all [disable|enable]
set action [pass|tag]
set tag-type {option1}, {option2}, ...
set tag-msg {string}
end
config smtp
Description: SMTP.
set log-all [disable|enable]
set action [pass|tag|...]
set tag-type {option1}, {option2}, ...
set tag-msg {string}
set hdrip [disable|enable]
set local-override [disable|enable]
end
config mapi
Description: MAPI.
set log-all [disable|enable]
set action [pass|discard]
end
config msn-hotmail
Description: MSN Hotmail.
set log-all [disable|enable]
end
config yahoo-mail
Description: Yahoo! Mail.
set log-all [disable|enable]
end
config gmail
Description: Gmail.
set log-all [disable|enable]
end
config other-webmails
Description: Other supported webmails.
set log-all [disable|enable]
end
set spam-bword-threshold {integer}
set spam-bword-table {integer}
set spam-bal-table {integer}
set spam-mheader-table {integer}
set spam-rbl-table {integer}
set spam-iptrust-table {integer}
next
end
config emailfilter profile
Parameter |
Description |
Type |
Size |
Default |
||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
comment |
Comment. |
var-string |
Not Specified |
|
||||||||||||||||||||||||
feature-set |
Flow/proxy feature set. |
option |
- |
flow |
||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||
replacemsg-group |
Replacement message group. |
string |
Not Specified |
|
||||||||||||||||||||||||
spam-log |
Enable/disable spam logging for email filtering. |
option |
- |
enable |
||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||
spam-log-fortiguard-response |
Enable/disable logging FortiGuard spam response. |
option |
- |
disable |
||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||
spam-filtering |
Enable/disable spam filtering. |
option |
- |
disable |
||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||
external |
Enable/disable external Email inspection. |
option |
- |
disable |
||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||
options |
Options. |
option |
- |
|
||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||
spam-bword-threshold |
Spam banned word threshold. |
integer |
Minimum value: 0 Maximum value: 2147483647 |
10 |
||||||||||||||||||||||||
spam-bword-table |
Anti-spam banned word table ID. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||||||||||||||||||||
spam-bal-table |
Anti-spam block/allow list table ID. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||||||||||||||||||||
spam-mheader-table |
Anti-spam MIME header table ID. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||||||||||||||||||||
spam-rbl-table |
Anti-spam DNSBL table ID. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||||||||||||||||||||
spam-iptrust-table |
Anti-spam IP trust table ID. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
config imap
Parameter |
Description |
Type |
Size |
Default |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
log-all |
Enable/disable logging of all email traffic. |
option |
- |
disable |
||||||||
|
|
|||||||||||
action |
Action for spam email. |
option |
- |
tag |
||||||||
|
|
|||||||||||
tag-type |
Tag subject or header for spam email. |
option |
- |
subject spaminfo |
||||||||
|
|
|||||||||||
tag-msg |
Subject text or header added to spam email. |
string |
Not Specified |
Spam |
config pop3
Parameter |
Description |
Type |
Size |
Default |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
log-all |
Enable/disable logging of all email traffic. |
option |
- |
disable |
||||||||
|
|
|||||||||||
action |
Action for spam email. |
option |
- |
tag |
||||||||
|
|
|||||||||||
tag-type |
Tag subject or header for spam email. |
option |
- |
subject spaminfo |
||||||||
|
|
|||||||||||
tag-msg |
Subject text or header added to spam email. |
string |
Not Specified |
Spam |
config smtp
Parameter |
Description |
Type |
Size |
Default |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
log-all |
Enable/disable logging of all email traffic. |
option |
- |
disable |
||||||||
|
|
|||||||||||
action |
Action for spam email. |
option |
- |
discard |
||||||||
|
|
|||||||||||
tag-type |
Tag subject or header for spam email. |
option |
- |
subject spaminfo |
||||||||
|
|
|||||||||||
tag-msg |
Subject text or header added to spam email. |
string |
Not Specified |
Spam |
||||||||
hdrip |
Enable/disable SMTP email header IP checks for spamfsip, spamrbl, and spambal filters. |
option |
- |
disable |
||||||||
|
|
|||||||||||
local-override |
Enable/disable local filter to override SMTP remote check result. |
option |
- |
disable |
||||||||
|
|
config mapi
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
log-all |
Enable/disable logging of all email traffic. |
option |
- |
disable |
||||||
|
|
|||||||||
action |
Action for spam email. |
option |
- |
pass |
||||||
|
|
config msn-hotmail
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
log-all |
Enable/disable logging of all email traffic. |
option |
- |
disable |
||||||
|
|
config yahoo-mail
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
log-all |
Enable/disable logging of all email traffic. |
option |
- |
disable |
||||||
|
|
config gmail
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
log-all |
Enable/disable logging of all email traffic. |
option |
- |
disable |
||||||
|
|
config other-webmails
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
log-all |
Enable/disable logging of all email traffic. |
option |
- |
disable |
||||||
|
|