On 11/23/2010 2:16 PM, CT wrote:
I accidentally replied to a thread instead of starting my
own..oops..
Postfix Version: postfix-2.5.1-1.rhel5
I have an internal relay with an external NAT.
The internal relay is not visible to the outside..
The receiving destination gives the error:
There is no easy way to rewrite the sender for just one
destination. If their claim is incorrect (the sender domain
really is valid), you should contact their postmaster.
smtp_generic_maps is used to rewrite "internal" domains to
valid "internet" domains.
http://www.postfix.org/ADDRESS_REWRITING_README.html#generic
If you need to do this for only one destination, you must
create a custom smtp transport in master.cf with appropriate
-o smtp_generic_maps=... overrides, then add a transport_maps
entry to point the recipient domain to the new transport.
-- Noel Jones