<br><br><div><span class="gmail_quote">On 12/20/06, <b class="gmail_sendername">Tim</b> <<a href="mailto:ignored_mailbox@yahoo.com.au">ignored_mailbox@yahoo.com.au</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;">
Matthew Benjamin:<br><br>> ok, the symptoms are when I send an email it give the from address as<br>> <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>> (these are generic names of course). Here is an exact listing of what<br>> I have in my <a href="http://sendmail.mc">sendmail.mc</a>, that pertains to masquerading.<br>><br>><br>> LOCAL_DOMAIN(`localhost.localdomain')dnl
<br>> dnl #<br>> dnl # The following example makes mail from this host and any additional<br>> dnl # specified domains appear to be sent from <a href="http://mydomain.com">mydomain.com</a><br>> dnl #<br>> MASQUERADE_AS(`noreply.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 well<br>> dnl #<br>> dnl #<br>> MAILER(smtp)dnl<br>> MAILER(procmail)dnl<br>><br><br>These might help:<br><br><<a href="http://sendmail.org/doc/sendmail-current/cf/README">
http://sendmail.org/doc/sendmail-current/cf/README</a>> search through it<br>for any references to masquerad (yes, spelt like that so you find<br>masquerade and masquerading).<br><br><<a href="http://sendmail.org/m4/masquerading.html">
http://sendmail.org/m4/masquerading.html</a>><br><br>Just quickly looking through some of the above, it might be that<br>masquerading isn'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.  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's important.)<br><br>Don'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.