Skip to main content
vchauhan
Staff
Staff
Aug 21, 2025 8:43 AM UTC

Technical Tip: How to forward an email based on the recipient

Description

This article describes how to forward or copy email messages sent to a specific recipient to another email address.

Scope

FortiMail.

Solution

When an email is sent to user1@lab.lab, a copy of the email should also be forwarded to user3@lab.lab using a BCC action.


Important: In order for the following procedure to work, sender should not be in safe-list. As long as the sender is in the safe-list, BCC feature will be bypassed.


Step 1: Create a New Recipient Policy:

  • Navigate to the Recipient Policy section.

  • Select 'Create New Policy'.

  • Configure the policy to match the desired recipient address.

  • Example: Set the recipient as user1@lab.lab.

 

recipientpattern.png

 

Step 2: Create a New Anti-Spam Profile:

  • Go to Profile -> Anti-Spam.

  • Select the '+ New' button to create a new profile.

  • In the scanning options, select Scan Option.

  • Apply the default action without a scan upon policy match.

 

applydefault.png

 

Also, a content profile can be used:

  • Go to Profile -> Content

  • Select the '+ New' button to create a new profile.

  • In the scanning options, select Scan Option.

  • Enable the policy match option.

    a3225b28.png


Step 3: Configure BCC Action:

  • Under Default Action, enable the BCC feature.

  • Enable Envelope From Address.

  • Set the envelope address to user1@lab.lab.

  • In the BCC Recipient field, set the address to user3@lab.lab.

 

BCCaction.png

 

Once configured, any email sent to user1@lab.lab will be automatically BCC'd to user3@lab.lab.

 

Additionally, set the final action in the Antispam Profile to Rewrite recipient email address if it is desired to hide the original recipient address.


Configure the following fields:

  • Rewrite local part – Replace With: Enter the text that should replace the original recipient's local part. Leave the field empty to hide the original local part.

  • Rewrite domain part – Replace With: Enter the text that should replace the original recipient's domain. Leave the field empty to hide the original domain.


687945d9.png

Logs:

The logs contain entries similar to the following, which indicate the policy match and the BCC action applied:

 

log.png

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024