Skip to main content
Ragnarok1992
Explorer
May 23, 2022
Solved

Fortimail cloud email global filter

  • May 23, 2022
  • 3 replies
  • 2614 views

Hi, I’ve been trying to configure a policy in Fortimail cloud that deliver mails from specific sender’s domain or specific mail sender to a specific internal mail account but I can’t figure how :(

I want, for example, that all mails from example@gmail.com be delivered to example@internal.com

Thanks in advance

Best answer by vchauhan

Hi,

I believe you have access to make these changes. If you are looking to configure the Access control policy then you can configure it as below.

config policy access-control receive
edit 0
set sender-pattern example@gmail.com
set recipient-pattern example@internal.com
set action relay
next
end

 

or if recipient policy, please try below.

config policy recipient
edit 0
set status enable
set sender-name example
set sender-domain gmail.com
set recipient-name example
set recipient-domain internal.com
set profile-resource Res_Default
next
end

https://docs.fortinet.com/document/fortimail/7.0.3/administration-guide/381666/controlling-smtp-access-and-delivery#policy_3837085509_1157866

https://docs.fortinet.com/document/fortimail/7.0.3/administration-guide/329890/controlling-email-based-on-sender-and-recipient-addresses#policy_3837085509_1247047\

Thanks.

3 replies

Contributor III
May 26, 2022

Hello Ragnarok1992, 

 

Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible. 

 

Thanks, 

   Fortinet Community Team 

vchauhan
Staff
vchauhanAnswer
Staff
May 26, 2022

Hi,

I believe you have access to make these changes. If you are looking to configure the Access control policy then you can configure it as below.

config policy access-control receive
edit 0
set sender-pattern example@gmail.com
set recipient-pattern example@internal.com
set action relay
next
end

 

or if recipient policy, please try below.

config policy recipient
edit 0
set status enable
set sender-name example
set sender-domain gmail.com
set recipient-name example
set recipient-domain internal.com
set profile-resource Res_Default
next
end

https://docs.fortinet.com/document/fortimail/7.0.3/administration-guide/381666/controlling-smtp-access-and-delivery#policy_3837085509_1157866

https://docs.fortinet.com/document/fortimail/7.0.3/administration-guide/329890/controlling-email-based-on-sender-and-recipient-addresses#policy_3837085509_1247047\

Thanks.

Ragnarok1992
Explorer
May 26, 2022

Hi, wow! works like a charm. Thank you so much. 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!