Masquerading domains

Pierluigi Rondoni

New Member
May 28, 2019
Hello guys,
I have to masquerade a few domains but I haven't succedeed yet.
I tried some solutions editing the /postfix/ file but it doesn't seem to work.

Any suggestions?
What about if you "catch" that domain with rules, and then change "from"?

To be honest am not sure is it possible to change from, but i can imagine that it is (like if you add new action rule with change header and set from in it put what you want - haven't tryed).

Here is how I did mine:

edit the /etc/pmg/templates/

masquerade_domains = !

pmgconfig sync --restart 1

The reason is that I want to transport the to another internal mail server and the rest of the to another internal mail server.

Hope that helps.



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!