FortiMail
FortiMail provides advanced, multi-layer protection against the full spectrum of email-borne threats
cysaw
Staff
Staff
Article Id 194977
Description
This article describeshow to change safe/block lists precedence.

By default, system safelists and blocklists have precedence over other safelists and blocklists.
In some cases, the use can want to change the precedence order.

For example, allow a user to use his/her own lists (Personal safe/block lists) to overwrite the system list.


Solution
1) Run the following command to check the current precedence order.
# get antispam settings
2) By default, the precedence order is system -> Session -> Domain -> Personal which means the system safelists and blocklists have precedence over Personal safelists and blocklists.

3) Run the following command to move the 'personal’ ahead of 'system' to allow a user to use his/her own lists (Personal safe/block lists) to overwrite the system safelists and blocklists.
# config antispam settings
    set safe-block-list-precedence personal system session domain
end
4) For this case, add an external sender address 'external@test.com' to Personal Block List and System Safe list.






Result.
Now the Personal safelists and blocklists have precedence over the System safelists and blocklists so the email has been blocked by FortiMail due to the sender matched to the user’s personal block list.




Contributors