One EFA to multiple backend mail servers

Request and discuss new features you would like to have.
Post Reply
mph
Posts: 3
Joined: 09 Oct 2018 08:40

One EFA to multiple backend mail servers

Post by mph » 09 Oct 2018 09:09

I have a requirement to send all incoming emails via EFA to multiple backend mail servers.

There's only an option to specify one mail server under Transport settings.

I guess this might be a postfix limitation?

domain.com smtp:[192.168.1.1]

I could use DNS RR, but then half the mail goes to one server, and half to the other.

Any thoughts?

mph
Posts: 3
Joined: 09 Oct 2018 08:40

Re: One EFA to multiple backend mail servers

Post by mph » 09 Oct 2018 09:31

Actually, I may have found a possible solution:

https://gitlab.dls-belgium.eu/tools/smptdd/tree/develop

Could this be implemented in EFA?

User avatar
pdwalker
Posts: 1137
Joined: 18 Mar 2015 09:16

Re: One EFA to multiple backend mail servers

Post by pdwalker » 10 Oct 2018 04:27

huh?

Just specify the domain and the back end in the transport file

Code: Select all

mydomain1 smtp:[10.1.1.1]
mydomain2 smtp:[192.168.1.1]
etc...

You can do this through the efa configuration menu, or by hand.

Gate Array
Posts: 23
Joined: 30 Aug 2017 09:36

Re: One EFA to multiple backend mail servers

Post by Gate Array » 24 Oct 2018 13:10

What do you need?

1) forward emails to ALL the mail servers behind (parallel approach)

2) forward email to one server with a rotational schema (es. round robin)

3) forward specific domain to a specific server

mikemc
Posts: 3
Joined: 22 Mar 2019 03:59

Re: One EFA to multiple backend mail servers

Post by mikemc » 02 Apr 2019 04:00

Hi

Was this ever resolved? I have a situation where we have efa feeding an exchange server and we also want all emails sent to a backup linux box so when the exchange server crashes we can still access our mail on the linux box. Is this possible?

mph
Posts: 3
Joined: 09 Oct 2018 08:40

Re: One EFA to multiple backend mail servers

Post by mph » 02 Apr 2019 12:09

I don't think so, you can only specify one destination in postfix.

If (or rather when) your Exchange server crashes, you would have to change the IP in postfix, unless you use a DNS entry, in which case change your DNS to point to your Linux box.

The "parallel approach" is something I've been trying to do myself.

Post Reply