Skip to main content
Sam333
Explorer
December 11, 2024
Question

FortiMail for Dual Mail Server Routing

  • December 11, 2024
  • 3 replies
  • 2673 views

Hello,

I am currently using Kerio Connect as my mail server, with all users stored in a local database.

I have now installed Exchange Server 2019, and it is functioning properly for sending and receiving emails.

 

Both servers use the same domain: @XXXX.xx.

Currently, FortiMail is configured to point to the Kerio server's IP address, and everything works as expected. However, when I change the IP address in FortiMail to point to the Exchange server, the Exchange-side mail flow operates normally.

 

Is it possible to configure FortiMail to recognize and forward emails to both servers based on recipient email addresses? For example:

 

Emails sent to user1@xxxx.xx and user2@xxxx.xx should be forwarded to the Kerio server.

 

Emails sent to test1@xxxx.xx and test2@xxxx.xx should be forwarded to the Exchange server.

 

 

If such a setup is possible, could you guide me on how to configure it? Specifically:

 

1. Can this be achieved using FortiMail policies?

 

 

2. Should I list both server IPs under the domain settings in FortiMail? If yes, how should this be configured?

 

 

 

I am using FortiMail 400F with firmware version 7.4.2 in Gateway Mode.

 

Thank you for your assistance.

 

 

 

3 replies

AEK
SuperUser
SuperUser
December 12, 2024

Hi Sam

As per my knowledge you can't route mails to some server based on recipient.

I remember we could achieve such requirement at mail server level, i.e.: FML forwards all mails to server1, then server1 forwards the mails with specific recipients to server2.

Hope it helps.

AEK
alya
Staff
Staff
December 12, 2024
AEK
SuperUser
SuperUser
December 12, 2024

Didn't know that, thanks for updating my knowledge.

But can anyone buy a MSSP license or only MSSP partners can do?

AEK
Sam333
Sam333Author
Explorer
December 18, 2024

Thank you, everyone
We resolved the issue by configuring relay between the servers