Page 1 of 1

transport to multiple exchange server (DAG)

Posted: 17 Oct 2022 14:50
by nicola.piazzi
Hi
I need to put 2 exchange servers that i have in dag both into transport table for my domains
If I use 7 > 4 – Transport settings in efa configuration menu is possible to insert only one entry that give this in transport file :
gruppocomet.it smtp:[10.1.1.126]

Because Postfix is greater than 3.5 we can use multiple destinations in transport file so i put
comet.it smtp:10.1.1.126, 10.1.1.151
postmap /etc/postfix/transport
sytemctl restart postfix

But after this modification efa menu shows a wrong alignment in 7 > 4 – Transport settings

Is there a way to do a clean work ?

I know that we can do it with dns MX entry but at this time efa uses public dns and i dont want to make changes at this level

Thx

Re: transport to multiple exchange server (DAG)

Posted: 18 Oct 2022 04:42
by pdwalker
Just a wild guess, but would this work in your transport file instead?

Code: Select all

comet.it smtp:[10.1.1.126]
comet.it smtp:[10.1.1.151]
The proper solution is to allow the efa configuration to support multiple destinations correctly. That should be an enhancement request for Shawn.

Re: transport to multiple exchange server (DAG)

Posted: 18 Oct 2022 06:30
by nicola.piazzi
syntax in postfix says only one line for domain
comet.it smtp:10.1.1.126, 10.1.1.151
i dont know if work as you say

Re: transport to multiple exchange server (DAG)

Posted: 18 Oct 2022 10:55
by pdwalker
If the document says 1 domain per line, then that's that.

Until the configuration UI is changed to support multiple IPs per domain in the transport file, you'll have to maintain it by hand.

Re: transport to multiple exchange server (DAG)

Posted: 10 Nov 2022 11:38
by gregecslo
Why not like this:

mydomain.com smtp:[exch-dag.domain.local]

Add above host into hosts file and thats it

Re: transport to multiple exchange server (DAG)

Posted: 10 Nov 2022 14:17
by nicola.piazzi
yes but this is one server only

Re: transport to multiple exchange server (DAG)

Posted: 14 Nov 2022 06:40
by gregecslo
No...

In my case: exch-dag.domain.local resolves to both exchange servers in dag...

Re: transport to multiple exchange server (DAG)

Posted: 14 Nov 2022 07:40
by nicola.piazzi
yes but so is a round robin, if you power off server 1 efa can try to send it

Re: transport to multiple exchange server (DAG)

Posted: 14 Nov 2022 08:06
by gregecslo
I agree...

Thats why we remove the server under maintenance from dns for duration of servicing...

Re: transport to multiple exchange server (DAG)

Posted: 14 Nov 2022 08:08
by nicola.piazzi
best will be specify 2 servers in postfix transport