Sendmail and masquerading

Anish Mistry mistry.7 at osu.edu
Wed Apr 21 07:20:48 PDT 2004


On Wednesday 21 April 2004 09:47 am, 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"
>
> Then I made sure that sendmail.cf reads:
> DMzenk.de
>
> I also added C{M}bsdharry.zenk.de
>
> Nothing helps!
> I also read the post about the not working alias and I wonder if there's
> something wrong with recent sendmail versions in the base system (I'm using
> -current as from 16th of April).
>
I normally need to put in a few more line for mine to work:
MASQUERADE_AS(mydomain.com)
FEATURE(allmasquerade)
FEATURE(masquerade_envelope)

If you don't already have the "bat book" I'd suggest picking it up from your 
local bookstore.

-- 
Anish Mistry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040421/2eb895ef/attachment.bin


More information about the freebsd-questions mailing list