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 (and server port) are available in the SMTP policy delegation protocol. If you were to use the Perl code in the SMTPD_POLICY_RADME.html it might look like: if ($attr{'client_port'} == 7025) { print("action=redirect d...@test.ca\n\n"); } But it may also be possible with postfwd, or with policy plugins in other languages. > Maybe it's just not possible with postfix? It is possible. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org