Sendmail and masquerading

Matthew Seaman m.seaman at
Wed Apr 21 07:26:41 PDT 2004

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
> local-host-names reads:
> host reads:
>	bsdharry
> But sendmail still communicates with "Mail from:"

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.



to make sendmail rewrite the envelope sender address as well.  You
might also want to use:


which applies masquerading to *recipient* addresses.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list