sendmail & masquearading

Test Er <tst_er-/[email protected]> Wed, 8 Sep 2004 14:37:46 -0700 (PDT)
Newsgroups gmane.linux.admin.managers
Message-ID <[email protected]>
sendmail 8.12
I am trying to masq my domain so when I send out a mail it will have [email protected]
 
But instead when I receive the mail it says [email protected]
 
Here is the snippet from sendmail.mc:
dnl # Also accept email sent to "localhost.localdomain" as local email.
dnl #
LOCAL_DOMAIN(`localhost.localdomain')dnl
dnl #
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from mydomain.com
dnl #
MASQUERADE_AS(`domainx.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 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

After I save the file I run :
m4 sendmail.mc > sendmail.cf
service sendmail restart
 
What am I missing?
 

		
---------------------------------
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers