Hi,
i have a bunch of Domains configured in Proxmox Mail Gateway and I have three internal mail servers which are in a cluster.
Also, i checked the "Use MX" checkbox for all the domains, and entered
In my local DNS Server, I have three MX records like this
Priority is the same, as I don't really care, this is just for round robin and availability.
Now I had a situation, where only one of the mail servers was reachable for the Proxmox Mail Gateway, because of a firewall misconfiguration. Unfortunately, Proxmox decided to pick one of the unreachable Servers and queued up all the mails, not delivering a single one, instead of trying the next MX record, until a mail server would have responded.
The error message in the logs was:
Is my assumption of expected behavior wrong or did I discover a bug? Should I use different MX priorities? Please don't tell me, I have to put a load balancer in front of my mail servers. I beg you.
Thanks!
i have a bunch of Domains configured in Proxmox Mail Gateway and I have three internal mail servers which are in a cluster.
Also, i checked the "Use MX" checkbox for all the domains, and entered
mxin.mydomain.local
.In my local DNS Server, I have three MX records like this
mxin.mydomain.local. IN MX 10 mailserver1.mydomain.local.
mxin.mydomain.local. IN MX 10 mailserver2.mydomain.local.
mxin.mydomain.local. IN MX 10 mailserver3.mydomain.local.
Priority is the same, as I don't really care, this is just for round robin and availability.
Now I had a situation, where only one of the mail servers was reachable for the Proxmox Mail Gateway, because of a firewall misconfiguration. Unfortunately, Proxmox decided to pick one of the unreachable Servers and queued up all the mails, not delivering a single one, instead of trying the next MX record, until a mail server would have responded.
The error message in the logs was:
Feb 20 00:06:46 pmg01 postfix/error[103886]: 94EA92C0AFE: to=<address@mydomain.com>, relay=none, delay=52574, delays=52574/0.01/0/0.01, dsn=4.4.1, status=deferred (deliver
y temporarily suspended: connect to mailserver1.mydomain.local[192.168.0.6]:25: Connection timed out)
Is my assumption of expected behavior wrong or did I discover a bug? Should I use different MX priorities? Please don't tell me, I have to put a load balancer in front of my mail servers. I beg you.
Thanks!