Charles Marcus a écrit : > On 2/26/2009 11:00 AM, Magnus Bäck wrote: >>> You need to disable it on one side, but then enable it on the other. >>> In addition to receive_override_options = no_address_mappings in >>> main.cf >>> >>> Add something like >>> -o receive_override_options= >>> >>> to the other side that you've defined in master.cf > >> I would suggest selectively disabling the address rewriting instead of >> the other way around. The risk of error is greater if rewriting is >> disabled by default. > > Hmmm, ok, I'll bite, since I may do this some day soon... > > If this is better, why does 'The Book' - and more importantly, the > official docs (FILTER_README) - say to do it the other way? >
maybe because at the time it was written, it was hoped that people really read the whole thing and understand it. now, I think too many people had problems with this, and the docs should be changed to propose "the other wy": disable rewrite in master.cf (maybe via a ${var}).