[pfx] Re: Is possible with postfix to do port-based routing?

2024-08-15 Thread Viktor Dukhovni via Postfix-users
On Thu, Aug 15, 2024 at 05:15:01PM -0400, Wietse Venema via Postfix-users wrote: > Etienne Gladu via Postfix-users: > > In short, I want postfix to change the recipient of all email going through > > port 7025, 7026, etc > > In exemple : email came from port 7025, then redirect/change recipient to

[pfx] Re: Is possible with postfix to do port-based routing?

2024-08-15 Thread Jaroslaw Rafa via Postfix-users
Dnia 15.08.2024 o godz. 20:30:50 Etienne Gladu via Postfix-users pisze: > In short, I want postfix to change the recipient of all email going through > port 7025, 7026, etc > In exemple : email came from port 7025, then redirect/change recipient to > d...@test.ca > if its 7026, redirect/change re

[pfx] Re: Is possible with postfix to do port-based routing?

2024-08-15 Thread Wietse Venema via Postfix-users
Etienne Gladu via Postfix-users: > In short, I want postfix to change the recipient of all email going through > port 7025, 7026, etc > In exemple : email came from port 7025, then redirect/change recipient to > d...@test.ca > if its 7026, redirect/change recipient to a...@test.ca The client (an

[pfx] Is possible with postfix to do port-based routing?

2024-08-15 Thread Etienne Gladu via Postfix-users
Bonjour 🙂 I'm trying to find a way to replicate this kind of port-based routing from Exim, into Postfix: begin routers regle_7025: driver = redirect condition = ${if eq {$interface_port}{7025} {1}{0}} errors_to = nepasrepon...@test.ca data= d...@usherbrooke.ca