Sender based relay policy


Jun 8, 2018
Hi everyone!
Is it possible in PMG to do the following scenario?
1. In MS Exchange we have 2 domains, let's say and
2. User could send mail from both domains.
3. PMG acts as relay sever.
4. If user send email from, the email should go straight to internet and so on.
5. If user send email from, the email should be forwarded to another relay, and that relay does the delivery.

I was able to do this scenario in Exim4 via static routes: smart_host=ip_address

But I couldn't find same option in PMG.
Thanks in advance.
Ok, thanks for the clue.
Wouldn't that template be redefined if I do something in Proxmox web GUI?


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!