Skip to main content
AEK
SuperUser
SuperUser
November 18, 2023
Solved

Third SMTP server

  • November 18, 2023
  • 5 replies
  • 2782 views

Hello

In FortiMail, we can configure for each domain only 2 SMTP servers (primary & failback).

I need to configure a third one (another failback server) but I couldn't find a way to do from GUI or CLI.

Any help would be appreciated. Otherwise why this limitation?

Best answer by ndumaj

Hello AEK,

The best way to achieve this, would be to use an 'IP group' in the domain 'relay type' settings:

- From FML GUI, navigate to: Profile > Group > IP Group
- Create a new 'IP Group' and name it
- Click 'New' and add below the SMTP server IPs with their netmask
- When ready, click 'Create'

- Then navigate to: Domain & User > Domain > Domain > Edit the domain for which you want to use a third SMTP Server IP
- In the pop-up window, change relay type to 'IP Group'
- In the 'IP Group' settings, expand the drop-down menu and select the IP group you create previously
- Click 'OK'

The connection will be rotating among one or many protected SMTP servers for load balancing.

BR

5 replies

Anthony_E
Staff
Staff
November 21, 2023

Hello AEK


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


Thanks,

Best Regards
ndumaj
Staff
ndumajAnswer
Staff
November 21, 2023

Hello AEK,

The best way to achieve this, would be to use an 'IP group' in the domain 'relay type' settings:

- From FML GUI, navigate to: Profile > Group > IP Group
- Create a new 'IP Group' and name it
- Click 'New' and add below the SMTP server IPs with their netmask
- When ready, click 'Create'

- Then navigate to: Domain & User > Domain > Domain > Edit the domain for which you want to use a third SMTP Server IP
- In the pop-up window, change relay type to 'IP Group'
- In the 'IP Group' settings, expand the drop-down menu and select the IP group you create previously
- Click 'OK'

The connection will be rotating among one or many protected SMTP servers for load balancing.

BR

AEK
SuperUser
AEKAuthor
SuperUser
November 21, 2023

Hello

Thanks for your useful feedback. Actually I didn't notice this feature till now.

As you said this will load balance the traffic across the three servers, however my real need is to use the second and third mail servers as failback servers.

So I'll try manage to achieve my requirement with these available features.

AEK
ndumaj
Staff
Staff
November 21, 2023

Hello AEK,
Happy to help you some how.
I guess only one fallback SMTP server can be configured.

https://docs.fortinet.com/document/fortimail/7.0.5/cli-reference/10685/domain#config_3733402351_1734723
fallback-host {<smtp-server_fqdn> | <smtp-server_ipv4>}
(transparent mode and gateway mode only)
Enter the fully qualified domain name (FQDN) or IP address of the secondary SMTP server for this protected domain.
This SMTP server will be used if the primary SMTP server is unreachable.

https://docs.fortinet.com/document/fortimail/7.0.5/administration-guide/40774/configuring-protected-domains#domain_user_1224406687_2785180
Fallback SMTP server (transparent and gateway mode only)
Enter the fully qualified domain name (FQDN) or IP address of the secondary SMTP server for this protected domain, then also configure Port and Use SMTPS.
This SMTP server will be used if the primary SMTP server is unreachable.
This field appears only if Relay type is Host.
Hope this help you as well!

BR
Nervil

ndumaj
Staff
Staff
August 22, 2024

Hello,

Certainly! If you need assistance with configuring SMTP servers, you can reach out to Fortinet support.
However, the community is also a valuable resource that can offer great solutions and support at any time.

BR

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.