[SOLVED] Multiple mx one pmg again

zoa

New Member
Jul 15, 2023
4
1
3
I have several mx records in DNS with different FQDNs (equal parts of the domain).
These names cannot be changed - they are fixed by the provider's PTR records.
pmg (8.03) - relay for incoming mails (input only). And now it can only have 1 FQDN.
Problem:
I'm sure senders won't "forgive" me another FQDN in the pmg smtp prompt.
So one pmg should have multiple FQDNs for multiple IP addresses.
Questions:
It can be solved?
Can postfix do this? Or can pmg antispam work with postfixes in dockers?
 
* Does your PMG have multiple different IP addresses for all those names?
* If yes - why not create a cluster with one PMG node for each IP?
* If no - I don't see how PMG should "know" which hostname to use?

In general I don't think that a mismatch between smtp-helo-name and fqdn and reverse pointer should be too much of a problem - so you could just
try and see if much mail gets rejected based on this alone
 
* Does your PMG have multiple different IP addresses for all those names?
* If yes - why not create a cluster with one PMG node for each IP?
* If no - I don't see how PMG should "know" which hostname to use?

In general I don't think that a mismatch between smtp-helo-name and fqdn and reverse pointer should be too much of a problem - so you could just
try and see if much mail gets rejected based on this alone
Yes, PMG have multiple different IP addresses for all those names, but it isn't enough resources for cluster.
I also hope that this problem is made up, but I can’t experiment in production, so i'm asking the experts.
 
Last edited:
I also hope that this problem is made up, but I can’t experiment in production, so i'm asking the experts.
As said - cannot guarantee that every single SMTP-server out there will not have a check of the helo-name having to correspond to the reversepointer - but I think that if forward<->reverse DNS is setup correctly you should be good

Maybe others can share their experiences too
 
I have 2 MX in single domain. I use 1 PMG which forwards mails to Exchange Server. Exchange Server sends mails through PMG

Code:
A Records
1. IN A mx01-mail 1.1.1.1
2. IN A mx01-mail 2.2.2.2
3. IN A mail 1.1.1.1
4. IN A mail 2.2.2.2

MX Records
1. IN MX 10 mx01-mail.contoso.com
2. IN MX 20 mx02-mail.contoso.com

I'm sure senders won't "forgive" me another FQDN in the pmg smtp prompt.

I asked my Providers to add 2 PTR record per IP

For Provider 1.1.1.1
Code:
mx01-mail.contoso.com
mail.controso.com

For Provider 2.2.2.2
Code:
mx02-mail.contoso.com
mail.controso.com


PTR Record mail.contoso cpm is used as hostname (sender) in PMG. And everyone happy

hth
 
Last edited:
  • Like
Reactions: Stoiko Ivanov

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!