Configuration : Mail Proxy -->Transport to allow * as Domain name

Deepen Dhulla

Renowned Member
Mar 1, 2016
84
17
73
48
Mumbai
deependhulla.com
Hello Team, please allow * in domian name in : Configuration : Mail Proxy -->Transport as we get below Error.
Parameter verification failed. (400)

domain: invalid format - value does not look like a valid transport domain or email address

This is needed as we had put a last entry in transport on our MX to send all other domain mails to another SMTP relay server, as we do not want wrong or bounce mail t otake up Queue on MX server for specialy false double bounce mails , where from address is also fake at times.

we had to make entry directly in /etc/pmg/transport as last entry
* smtp:[192.168.1.2]:25. our other server but if we add new domain in transport from gui it removes.


so request to please look into allow * in domain name and do show the same in gui.
 
Couldn't you define transports for all domains currently handled by your default relay, and instead use the default relay for this `catch all`?
 
I have 160+ domains manually forward to various different Mail-Servers via transport ,thus the Last line is * for other domains.
And that's exactly what the `default relay` is for. Transports can be used to route specific domains to certain servers, while everything else that is accepted (Domains configured in `Relay Domains)` will be forwarded to the default relay.
 
I Got that point about using your default route , but http://www.postfix.org/transport.5.html support

* transport:nexthop
The special pattern * represents any address (i.e. it functions
as the wild-card pattern, and is unique to Postfix transport
tables).

we had been using it for quite some time before PMG, therefore a request for feature to allow * in transport domain-configuration in PMG.