Created on
01-08-2020
01:31 AM
Edited on
01-01-2026
11:07 PM
By
Jean-Philippe_P
Description
This article describes how to prevent spam from protected domains coming from outside the network.
Scope
FortiMail all firmware versions.
Solution
"v=spf1 a mx ip4:211.24.155.96/27 -all"
2. SPF needs to be enabled on the session profile or antispam profile.
Note:
From firmware 6.0 and later, gradual control over SPF is possible.
Refer to the related articles for more information.
If 'Bypass SPF checking' is selected in the session profile, SPF checking will be bypassed even if this is enabled in the antispam profile.

Related article:
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2026 Fortinet, Inc. All Rights Reserved.