Thanks for the quick response. The problem i have with the smtp_generic_maps is that when I put @exemple.org @exemple.net in the map it works, but it alsoMessage 1 of 4 , Mar 22View SourceThanks for the quick response.
The problem i have with the smtp_generic_maps is that when I put
in the map it works, but it also changes the RCPT TO addresses.
So if I send from esimard@... to wietse@... it will
now try to send emails to wietse@... which does not exist.
Is there a way around that?
On Fri, Mar 22, 2013 at 5:40 PM, Wietse Venema <wietse@...> wrote:
> Etienne Simard:
>> I'm doing some tests to hopefully use postfix instead of the other MTA
>> but I tried different ways of masquerading the domain name with
>> another one and I am not successful.
>> The closest I got was using
>> mydomain = example.net
>> masquerade_domains = example.org, example.net
> masquerade_domains is a hack for poorly-organized sites. It is
> better if systems send mail with an valid email address.
> If that is not possible, consider using smtp_generic_maps on the
> boundary between the chaos and the external network. Use the same
> rewriting strategy as described, for a different problem, in
> masquerade_domains breaks all kinds of things in Postfix, and it
> should probably be phased out, now that smtp_generic_maps exists.
Network and systems administrator | Acquisio
Tel: 450.465.2631 ext. 265
6300 Auteuil, suite 300 | Brossard, Québec J4Z 3P2
Toll Free: 1.866.493.9070 | www.acquisio.com
... Use the right tool for the right job. Use smtp_generic_maps on the network boundary, to transform addresses that are valid only inside the network, intoMessage 1 of 4 , Mar 22View SourceEtienne Simard:
> Thanks for the quick response.Use the right tool for the right job.
> The problem i have with the smtp_generic_maps is that when I put
> "@... @..."
> in the map it works, but it also changes the RCPT TO addresses.
Use smtp_generic_maps on the network boundary, to transform addresses
that are valid only inside the network, into addresses that are
valid outside the network, without exceptions.
Use aliases on the network boundary MTA, to route mail that enters
the network from outside, to whatever addresses you use internally.