Created on
09-21-2022
08:58 AM
Edited on
10-05-2025
02:24 PM
By
Jean-Philippe_P
Description
This article describes how to configure FortiMail to take the AS profile action, overriding the DMARC record policy.
Scope
FortiMail v7.x.
Solution
In FortiMail v7.2, FortiMail offers three different options regarding which action to take after a failed DMARC check.
Set a DMARC failure action:
By default, FortiMail will use the setting 'use-profile-action-with-none'.
To always take the action configured in the AntiSpam profile, the following commands can be used:
config antispam settings
set dmarc-failure-action use-profile-action
end
In versions 7.4.x and later, it is configured in the GUI under Security -> Options -> Preference.
Note: In versions 7.6.3 and 7.6.4, the 'DMARC Failure Action' feature is not available under Security -> Option. To access this feature, navigate to the Antispam Profile, then expand the DMARC section, as described below.
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.