FortiMail
FortiMail provides advanced, multi-layer protection against the full spectrum of email-borne threats
cysaw
Staff & Editor
Staff & Editor
Article Id 409362
Description

This article describes how to configure FortiMail to insert a specific header into emails from a specific sender's IP.

Scope FortiMail.
Solution

Go to Policy -> IP Policy and select 'New 'to create a new IP policy.


cysaw_0-1756880679170.png

 

Look for 'Source', select 'IP Group', and select the + sign to add a new IP group.


cysaw_1-1756880679172.png

 

Create a new session profile by selecting the + sign next to the Session Profile:


cysaw_2-1756880679173.png

 

In the new session profile, look for 'Session Setting' and expand it. Look for the 'Session Action', select 'All' for 'Message selection', and select the + sign.

 

cysaw_3-1756880679173.png

 

 

Enable the 'Insert Header' option and select 'New' to configure the header that FortiMail will insert into the email header.


cysaw_4-1756880679174.png

 

 
Snipaste_2025-09-04_08-41-40.png

Look for 'Miscellaneous' and enable the option 'Take precedence over recipient-based policy match'.


cysaw_5-1756880679175.png

 

Check the result in the email header and will see the new header is added to the email header.


cysaw_6-1756880679176.png

Contributors