On 8/30/2012 5:04 AM, Nasser Heidari wrote: > Thanks, generic worked for me , just there is another problem , as I have > used these system for few years and I have some other systems (Like > Ticketing) > That are using Internal domain(Domain.local) in some workflows, I want > force that if postfix delivering email to some special destinations, then > bypass generic maps. > Is it possible ?
In that case, you would use a transport_maps entry to direct your "special destination" mail to a different master.cf smtp transport and set "-o smtp_generic_maps=" on that master.cf entry to disable rewriting. # transport special.example.com relay: # master.cf relay ... smtp (find this line) -o smtp_generic_maps= (add this line. note: must be indented) -- Noel Jones