New answers tagged smtp-relay
Disclaimer: this answer won't work as intended when process email which had multiple recipients with both internal and external domain in it With postfix multi instance, the solution would be trivial. Just setup transport_maps to second instance, then do rewriting in second instance. Without multiple instance, you need two smptd processes, two cleanup ...
Postfix multi instance is a postfix feature that you are looking for. You need two instance. First instance was null client instance. It will act as system to handle email from PHP apps. Configuration of this instance looks like the describe in this documentation except you must add this parameter smtp_bind_address = my.first.ip.address Second instance ...
There are multiple solutions. All are described in the documentation: http://www.postfix.org/ADDRESS_REWRITING_README.html#delivering
Top 50 recent answers are included