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 regle_7026: driver = redirect condition = ${if eq {$interface_port}{7026} {1}{0}} errors_to = nepasrepon...@test.ca data = a...@test.ca smart_route: driver = manualroute domains = !+local_domains transport = remote_smtp route_list = * smtpm.test.ca I've been trying some configuration and nothing seems to do the trick 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 Maybe it's just not possible with postfix? ___________________________________ Étienne Gladu Technicien développeur et intégrateur Service du développement et de la transformation du dossier étudiant - DETU Université de Sherbrooke USherbrooke.ca/sdtde/nos-projets/detu
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org