2011/3/1 Victor Duchovni <victor.ducho...@morganstanley.com>: > On Tue, Mar 01, 2011 at 09:04:29AM -0600, /dev/rob0 wrote: > >> On Tue, Mar 01, 2011 at 10:10:49AM +0200, Eero Volotinen wrote: >> > Date: Tue, 1 Mar 2011 10:10:49 +0200 >> > From: Eero Volotinen <eero.voloti...@iki.fi> >> > To: aa <kipstar1...@gmail.com> >> > Cc: postfix-users@postfix.org >> > Subject: Re: rewrite outgoing from header . >> > >> > 2011/3/1 aa <kipstar1...@gmail.com>: >> > > in particular what's your problem ? can you say something more? >> > > >> > > Do you want to rewrite the private ip address that appears after >> > > the "from" keyword of the Received header when you send a mail? >> > >> > Sorry, a bit misunderstanding. >> > >> > I want to rewrite from <email@address> when sender is from our >> > internal lan 192.168.10.0/24 >> >> Possibly one of these: >> http://www./postfix.org/ADDRESS_REWRITING_README.html#masquerade >> http://www./postfix.org/postconf.5.html#masquerade_domains >> >> http://www./postfix.org/ADDRESS_REWRITING_README.html#canonical >> http://www./postfix.org/postconf.5.html#canonical_maps >> http://www./postfix.org/canonical.5.html > > Often best is: http://www.postfix.org/SOHO_README.html#fantasy
Sorry, but it didn't work as expected. ISP sends mail to eero.voloti...@xxxx.xxx and I want to deliver it to exchange account at 192.168.20.6 exchange server as eero.voloti...@yyy.yyy How to do this? I tried canonical and transport maps, but no success. -- Eero