Mail Proxy Transports - Wildcard Support

AsankaG

Member
Jul 17, 2018
23
2
23
37
Hi Everyone,

As the title says, I'm trying to figure out if PMG supports wildcards in transports for relay domain. I have many domains with same name but different TLDs so it would nice to put a single entry like domain.* instead of many.

Kind Regards,
Asanka
 
As the title says, I'm trying to figure out if PMG supports wildcards in transports for relay domain. I have many domains with same name but different TLDs so it would nice to put a single entry like domain.* instead of many.
Does not seem possible according to the relevant parts of the postfix documentation:
https://www.postfix.org/transport.5.html
(TABLE SEARCH ORDER section)

depending on your setup you can however:
* set a default relay and not configure an explicit transport entry for them (if all/most of your domains go to the same downstream mailserver)
* use the REST-API to enter the transport entries:
https://pmg.proxmox.com/pmg-docs/api-viewer/index.html#/config/transport (the POST call)
* currently - also edit /etc/pmg/transport directly and afterwards call postmap on it.


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!