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 After having tried something, if it fails, use this as a guide before asking again: http://www./postfix.org/DEBUG_README.html#mail -- Offlist mail to this address is discarded unless "/dev/rob0" or "not-spam" is in Subject: header