<br><br><div><span class="gmail_quote">On 12/20/06, <b class="gmail_sendername">Tim</b> &lt;<a href="mailto:ignored_mailbox@yahoo.com.au">ignored_mailbox@yahoo.com.au</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Matthew Benjamin:<br><br>&gt; ok, the symptoms are when I send an email it give the from address as<br>&gt; <a href="mailto:me@myserver.com">me@myserver.com</a>, I would like it to say from <a href="mailto:me@noreply.com">
me@noreply.com</a><br>&gt; (these are generic names of course). Here is an exact listing of what<br>&gt; I have in my <a href="http://sendmail.mc">sendmail.mc</a>, that pertains to masquerading.<br>&gt;<br>&gt;<br>&gt; LOCAL_DOMAIN(`localhost.localdomain&#39;)dnl
<br>&gt; dnl #<br>&gt; dnl # The following example makes mail from this host and any additional<br>&gt; dnl # specified domains appear to be sent from <a href="http://mydomain.com">mydomain.com</a><br>&gt; dnl #<br>&gt; MASQUERADE_AS(`noreply.com&#39;)dnl
<br>&gt; dnl #<br>&gt; dnl # masquerade not just the headers, but the envelope as well<br>&gt; dnl #<br>&gt; FEATURE(masquerade_envelope)dnl<br>&gt; dnl #<br>&gt; dnl # masquerade not just @<a href="http://mydomainalias.com">
mydomainalias.com</a>, but @*.mydomainalias.com as well<br>&gt; dnl #<br>&gt; dnl #<br>&gt; MAILER(smtp)dnl<br>&gt; MAILER(procmail)dnl<br>&gt;<br><br>These might help:<br><br>&lt;<a href="http://sendmail.org/doc/sendmail-current/cf/README">
http://sendmail.org/doc/sendmail-current/cf/README</a>&gt; search through it<br>for any references to masquerad (yes, spelt like that so you find<br>masquerade and masquerading).<br><br>&lt;<a href="http://sendmail.org/m4/masquerading.html">
http://sendmail.org/m4/masquerading.html</a>&gt;<br><br>Just quickly looking through some of the above, it might be that<br>masquerading isn&#39;t happening if the mail stays within the local system.<br>You could test that by posting to an external mail system, and looking
<br>at the headers received.<br><br>You might want to add your desired domain name to the local domain<br>parameters.&nbsp;&nbsp;And you might need to be running a local DNS server.<br><br>This sort of jiggery-pokery with masquerading is not my forte, though.
<br><br>--<br>(Currently testing FC5, but still running FC4, if that&#39;s important.)<br><br>Don&#39;t send private replies to my address, the mailbox is ignored.<br>I read messages from the public lists.<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>Everyone thanks, it work perfectly. The problem was I was testing as root (bad thing). If I test as a user then the masqurading works perfect. Thanks again.<br><br clear="all"><br>-- <br>mB.