exchange server 2013 and proxmox mail gateway incoming mail issue

a.amighpay

New Member
Aug 10, 2022
1
0
1
Hi,
recently I've install proxmox mail gateway in our infrastructure as anti spam solution for incoming emails only. here is my simple implementation:

Edge Firewall --> PMG --> exchange server

I did the configuration step by step from admin guide !

but the problem is, some of our incoming emails get accepted/bounce status in proxmox mail gateway and our exchange server returned 550 5.7.1 Sender ID (PRA) Not Permitted !
I already know that this issue may related to SPF but I totally sure about the senders SPF record which is works fine !
recently I've reviewed the agent log and transport log from our exchange server and I realize that from the day that I've configured the proxmox as a mail gateway for incoming emails, the sender's mail server public IP address has been replaced with the proxmox local (private) IP address in exchange log for all incoming emails !! I mean, from exchange server point of view looks like all incoming emails received from proxmox local IP address !!
before this configuration we had another free anti spam solution but at the end, exchange server received emails with senders public IP address, and after that the exchange server can check the SPF records with these IP address for example in order to accept or reject the emails !!

how can I change this ? how this happen ? does proxmox works like that ? or I did some misconfiguration ?

looking forward to hear from you !
 

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!