Adam Tauno Williams:
> I have a Postfix server which receives mail for EXAMPLE.COM
> (bogasified); for for specific addresses I need to send that mail to
> another SMTP server. So transform_maps!
>
> I have "transport_maps = hash://map-path" and If I "postmap -q
> [email protected] hash://map-path" it returns "smtp:[other.smtp.server]".
>
> However when I send a message through the server ... it is still
> delivered using the local transport.
>
> I have cranked up the debugging level for the host I am sending the
> test from. I see in the log:
>
> ...
> postfix/smtpd[22474]: rewrite_clnt: local: [email protected]> [email protected]
First, adam != USER
Second, rewrite_clnt calls a service that does not use transport_maps.
Only resolve_clnt does that.
Wietse