Date: Wed, 21 Apr 2004 15:26:27 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: antwort@schmalzbauer.de Cc: freebsd-questions@freebsd.org Subject: Re: Sendmail and masquerading Message-ID: <20040421142627.GA43999@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <200404211547.54837.h@schmalzbauer.de> References: <200404211547.54837.h@schmalzbauer.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 21, 2004 at 03:47:48PM +0200, Harald Schmalzbauer wrote: > Hi all, >=20 > I have to _believe_ there's something strange going on with sendmail in t= he=20 > base system. > I try to convince it to masquerade my righthandside. Therefore I added th= e=20 > following to bsdharry.zenk.de.mc: > MASQUERADE_AS(`zenk.de') >=20 > local-host-names reads: > bsdharry.zenk.de >=20 > host reads: > 150.20.100.18 bsdharry bsdharry.zenk.de >=20 > 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 =46rom: 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 --=20 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 --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAhoSTdtESqEQa7a0RAhxOAKCW6bH5pgqHOcjNs+LGbA0yWUaM2ACePdtm Ra3LuAvMBVzLUsY1AvQDDpo= =Tyz8 -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040421142627.GA43999>