Whitelisting

David Kennedy

New Member
May 9, 2023
1
0
1
Hi. I have a setup where the PMG is in front of email encryption servers. All customers are pointing to the same FQDN, but not all of them want to use the PMG options. How can I stop certain domains using the PMG. I have tried whitelisting the domain but it still does not seem to work. Is there a way that I can say if the domain is x.com then bypass all the PMG services?
 
Hi. I have a setup where the PMG is in front of email encryption servers. All customers are pointing to the same FQDN, but not all of them want to use the PMG options. How can I stop certain domains using the PMG. I have tried whitelisting the domain but it still does not seem to work. Is there a way that I can say if the domain is x.com then bypass all the PMG services?
Not out of the box - and the probably easiest way would be to have 2 fqdns - one pointing to PMG - the other to your encryption servers (or if it's the other direction - configure your encryption servers (I assume that's some kind of S/MIME PGP encryption that they do?) - to not send mails for those domains to PMG)

else it might be possible to adapt the postfix configuration to do that (you'd need to have a setup that only has the first smtpd-listener in postfix (depending on direction - the one on the internal port or the one on the external port) - skip the mail-filter for certain domains

Since this is quite outside of the scope of PMG - I have never tried this - so you'd need to find the fitting postfix options yourself

I hope this helps!
 

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!