> On Jan 19, 2018, at 6:10 PM, Grant Edwards <grant.b.edwa...@gmail.com> wrote: > >> Note that with my suggestion to override "default_transport" not only the >> original messages, but also any bounces or delay notifications go out via >> the same transport. > > Ah. That's a problem. I would need the special pipe transport to be > used for everything _except_ bounce/delay notifications.
You have two possible solutions: 1. Use sender_dependent_default_transport_maps with regexp tables to direct all non-empty sender domains to the special outbound transport. 2. Use "content_filter" to direct all email via the outbound transport, with "default_transport = smtp" as usuaul, as internally generated messages are not subject to content_filter. The difference between 1 and 2 is that 1 will have specially handling for all email with a non-emtpy sender address, while 2 will have special handling for all email that originates outside of Postfix. -- Viktor.