Bypass original asn IP

Petar Kozic

Nov 6, 2018
I'm using PMG servers as relay for sending mails and as proxy for receiving.
I have three PMG servers in front of two mail servers.

Mail servers is mailcow servers.

On both mail servers I have several domains. Sending mail works well.
On PMG servers I have disabled all spam and AV protections, RBL's etc.. because I want to use mailcow RSPAM.

My domains on mail server as MX using PMG servers and I have problem because mail server see incoming asn IP from PMG not real IP.
That make me problem. Is there exists some option to bypass that through PMG.

On example, mail from gmail on mail server I see that comes from my PMG IP and RSPAM see and check that IP not real.
If you think because I don't use filtering on PMG, that is because mailbox users on mailcow servers can control the own spam score settings.
But there are more cons on PMG which I want to use, like relay mail through PMG. With several PMG servers, I can easily change domain to relay mail to some other PMG if one IP accidentally ends up on on RBL.
I think u cant change that. MAybe u spread the block feature a little bit. The spam check according the source IP take over PMG and the rest manage mailcow.


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!