sendmail domain masquerade

Matthew Benjamin msbenjamin12 at gmail.com
Tue Dec 19 20:37:20 UTC 2006


On 12/19/06, Bryan Hepworth <bryan at redfedora.co.uk> wrote:
>
>
> Can someone tell me how to configure domain masquerade to actually work in
> sendmail. I have changed the entries in sendmail.mc and ran make to no
> avail. The entries I have changed are the listed below in sendmail.mc(this
> listing is the generic listing)...
>
> dnl MASQUERADE_AS(`mydomain.com')dnl
> dnl #
> dnl # masquerade not just the headers, but the envelope as well
> dnl #
> dnl FEATURE(masquerade_envelope)dnl
> dnl #
> dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as
> well
> dnl #
> dnl FEATURE(masquerade_entire_domain)dnl
> dnl #
> dnl MASQUERADE_DOMAIN(localhost)dnl
> dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl
> dnl MASQUERADE_DOMAIN(mydomainalias.com)dnl
> dnl MASQUERADE_DOMAIN(mydomain.lan)dnl
> MAILER(smtp)dnl
> MAILER(procmail)dnl
>
> Yes, take the dnl out from the start of the lines you wish to change and
> put
> the domain you wish to masquerade as in the relevant entries in the first
> line...
>
> MASQUERADE_AS(`thedomainyouwant.com')dnl
> dnl #
> dnl # masquerade not just the headers, but the envelope as well
> dnl #
> FEATURE(masquerade_envelope)dnl
> dnl #
> dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as
> well
> dnl #
> FEATURE(masquerade_entire_domain)dnl
> dnl #
> dnl MASQUERADE_DOMAIN(localhost)dnl
> dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl
> dnl MASQUERADE_DOMAIN(mydomainalias.com)dnl
> dnl MASQUERADE_DOMAIN(mydomain.lan)dnl
> MAILER(smtp)dnl
> MAILER(procmail)dnl
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>


did it, now it looks like...

MASQUERADE_AS(`noreply.com')dnl
FEATURE(masquerade_entire_domain)dnl
dnl #
MASQUERADE_DOMAIN(noreply.com)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl

Then I ran...
make -C /etc/mail

to no avail, no worky.

-- 
mB.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20061219/0bed7033/attachment-0001.htm>


More information about the fedora-list mailing list