Relaying specific domain locally other externally

msharabov

Member
Feb 18, 2022
3
0
6
24
Hello,

I have proxmox mail gateway as an internal smtp server, i want @example1.com to relayed within the same internal server itself and all other domain to be relayed to another smtp server. I cannot fully wrap my mind how to specifically tell proxmox to do it. I configured default relay to be my other smtp server and in transports to tell to relay @example1.com locally(i have configured in postfix ldap aliases so it can send the email to the mail servers). I had partial success by setting my other smtp server as relayhost in postfix conf and the transports worked but still my email were relayed one more time to the other server thanks to relayhost.

Thanks in advance.
 
Last edited:

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!