FWIW, Sender-requested custom transports are already supported as of Postfix 2.7.
header_checks:
/^X-Postfix-Cookie: xxx/ FILTER:smtp-xxx:
where smtp-xxx is a custom transport in master.cf with its own
smtp_bind_address, myhostname, etc. settings.
Wietse
