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

2024-12-20 Thread Etienne Gladu via Postfix-users
-users Envoyé : mardi 22 octobre 2024 09:08 À : postfix-users@postfix.org Objet : [pfx] Re: Is possible with postfix to do port-based routing? On Mon, Oct 21, 2024 at 07:16:20PM +, Etienne Gladu via Postfix-users wrote: > Thanks for the config, but it still closes the port when I try to d

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

2024-10-21 Thread Etienne Gladu via Postfix-users
Hi Wietse Thanks for the config, but it still closes the port when I try to do a test. Anyway the task changed a bit, we have to keep the original From, but only change the Return-Path/Reply-to for every email sent. Also it doesn't have to be specified for each port in master.cf, so maybe somet

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

2024-10-18 Thread Etienne Gladu via Postfix-users
Hello Viktor, This works perfectly, thank you! -o { smtpd_client_restrictions = check_client_access static:{REDIRECT d...@test.ca} } But this one : -o { smtpd_command_filter = pcre:{ {/^(MAIL FROM):/ $1: } } } seems to block my attempt to test with telnet [root@appsjava

[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