<br><br><div><span class="gmail_quote">On 12/19/06, <b class="gmail_sendername">Bryan Hepworth</b> <<a href="mailto:bryan@redfedora.co.uk">bryan@redfedora.co.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Can someone tell me how to configure domain masquerade to actually work in<br>sendmail. I have changed the entries in <a href="http://sendmail.mc">sendmail.mc</a> and ran make to no<br>avail. The entries I have changed are the listed below in 
<a href="http://sendmail.mc">sendmail.mc</a> (this<br>listing is the generic listing)...<br><br>dnl MASQUERADE_AS(`mydomain.com')dnl<br>dnl #<br>dnl # masquerade not just the headers, but the envelope as well<br>dnl #
<br>dnl FEATURE(masquerade_envelope)dnl<br>dnl #<br>dnl # masquerade not just @<a href="http://mydomainalias.com">mydomainalias.com</a>, but @*.mydomainalias.com as<br>well<br>dnl #<br>dnl FEATURE(masquerade_entire_domain)dnl
<br>dnl #<br>dnl MASQUERADE_DOMAIN(localhost)dnl<br>dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl<br>dnl MASQUERADE_DOMAIN(<a href="http://mydomainalias.com">mydomainalias.com</a>)dnl<br>dnl MASQUERADE_DOMAIN(mydomain.lan
)dnl<br>MAILER(smtp)dnl<br>MAILER(procmail)dnl<br><br>Yes, take the dnl out from the start of the lines you wish to change and put<br>the domain you wish to masquerade as in the relevant entries in the first<br>line...<br>
<br>MASQUERADE_AS(`thedomainyouwant.com')dnl<br>dnl #<br>dnl # masquerade not just the headers, but the envelope as well<br>dnl #<br>FEATURE(masquerade_envelope)dnl<br>dnl #<br>dnl # masquerade not just @<a href="http://mydomainalias.com">
mydomainalias.com</a>, but @*.mydomainalias.com as<br>well<br>dnl #<br>FEATURE(masquerade_entire_domain)dnl<br>dnl #<br>dnl MASQUERADE_DOMAIN(localhost)dnl<br>dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl<br>dnl MASQUERADE_DOMAIN(
<a href="http://mydomainalias.com">mydomainalias.com</a>)dnl<br>dnl MASQUERADE_DOMAIN(mydomain.lan)dnl<br>MAILER(smtp)dnl<br>MAILER(procmail)dnl<br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">
fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br><br>did it, now it looks like...
<br><br>MASQUERADE_AS(`noreply.com')dnl<br>FEATURE(masquerade_entire_domain)dnl<br>dnl #<br>MASQUERADE_DOMAIN(<a href="http://noreply.com">noreply.com</a>)dnl<br>MAILER(smtp)dnl<br>MAILER(procmail)dnl<br><br>Then I ran...
<br>make -C /etc/mail<br><br>to no avail, no worky.<br><br>-- <br>mB.