On Wed, Apr 21, 2004 at 03:47:48PM +0200, Harald Schmalzbauer wrote: > Hi all, > > I have to _believe_ there's something strange going on with sendmail in the > base system. > I try to convince it to masquerade my righthandside. Therefore I added the > following to bsdharry.zenk.de.mc: > MASQUERADE_AS(`zenk.de') > > local-host-names reads: > bsdharry.zenk.de > > host reads: > 150.20.100.18 bsdharry bsdharry.zenk.de > > But sendmail still communicates with "Mail from: @bsdharry.zenk.de"
Yup. That's the envelope sender address, as used in the SMTP dialog.
That doesn't get masqueraded by default -- but you should see that the
From: line within the message is masqueraded.
Use:
FEATURE(masquerade_envelope)dnl
to make sendmail rewrite the envelope sender address as well. You
might also want to use:
FEATURE(allmasquerade)dnl
which applies masquerading to *recipient* addresses.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
pgp00000.pgp
Description: PGP signature
