Hey there.
A basic question could it possible somehow be done.
In efa settings (for inbound mail flow) in mail settings section you can define domain name and then one ip of the server. Lets presume that we have two internal smtp server for one/same domain and one of them becomes corrupted. Is there a way to configure inbound mail relay on efa to relay on both ips? Current setting allows you only per 1 domain 1 ip, you can not configure domain and then two ips. any workarounds on that?
with best regards
efa settings domain and ip
Re: efa settings domain and ip
Don't know about that, but you may consider using a virtual ip shared between the two internal smtp servers, so if one goes down, the other will start responding to that address.
Re: efa settings domain and ip
Hi there.
Thanks for the reply.
I dunno how to achieve virtual ip, what concerns me currently I have single point of failure.
SITE 1
INTERNAL SMTP in LAN, and EXTERNAL SMTP (efa1) in DMZ
SITE2
INTERNAL SMTP in LAN, and EXTERNAL SMTP (efa2) in DMZ
Now between INTERNAL SMTP there is redundancy configured, if internal SMTP crashes in SITE1, then automatically INTERNAL SMTP in SITE2 takes all the roles from it, and it's full functional, but the problem is that mail flow is going to be stucked due to efa1 (mx public) will try to relay those messages to an IP of internal SMTP server in SITE1.

No other workarounds or improvements in future releases of EFA?
Thanks for the reply.
I dunno how to achieve virtual ip, what concerns me currently I have single point of failure.
SITE 1
INTERNAL SMTP in LAN, and EXTERNAL SMTP (efa1) in DMZ
SITE2
INTERNAL SMTP in LAN, and EXTERNAL SMTP (efa2) in DMZ
Now between INTERNAL SMTP there is redundancy configured, if internal SMTP crashes in SITE1, then automatically INTERNAL SMTP in SITE2 takes all the roles from it, and it's full functional, but the problem is that mail flow is going to be stucked due to efa1 (mx public) will try to relay those messages to an IP of internal SMTP server in SITE1.

No other workarounds or improvements in future releases of EFA?
Re: efa settings domain and ip
Those settings are saved into /etc/postfix/transport so you coudl check the postfix documentation for that file.
maybe as a workaround something like
example.com smtp:bar.example
and have bar.example resolve to both IPs so no matter which server goes down things will work?
maybe as a workaround something like
example.com smtp:bar.example
and have bar.example resolve to both IPs so no matter which server goes down things will work?
Re: efa settings domain and ip
Yep, dns round robin does it.
Thanks for the help.
We can close this thread.
With best regards
Thanks for the help.
We can close this thread.
With best regards