On 12/20/06, Edward Dekkers <edward@xxxxxxxxxxx> wrote:
Matthew Benjamin wrote:
> Can someone tell me how to configure domain masquerade to actually work
> in sendmail. I have changed the entries in sendmail.mc
> < http://sendmail.mc> and ran make to no avail. The entries I have
> changed are the listed below in sendmail.mc <http://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 <http://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 <http://mydomainalias.com>)dnl
> dnl MASQUERADE_DOMAIN(mydomain.lan)dnl
> MAILER(smtp)dnl
> MAILER(procmail)dnl
>
> --
> mB.
>
Why not show your "not working" sendmail.mc instead of the generic one.
What you have changed things to.
Makes it kind of hard to diagnose anything if the relevant information
is missing.
We all have the generic one on our machines when we install sendmail. I
don't really see the point of posting that one.
Regards,
Ed.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
This is the only thing I changed below, I installed sendmail-cf, ran make -C /etc/mail, and restarted the sendmail daemon. The 'noreply.com is mine.
Tried it not working. Here is the config...
MASQUERADE_AS(`noreply.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 #
dnl #
MAILER(smtp)dnl
MAILER(procmail)dnl
--
mB.