summary: sendmail & masquearading
Test Er <tst_er-/[email protected]> Wed, 8 Sep 2004 14:45:50 -0700 (PDT)
| Newsgroups | gmane.linux.admin.managers |
|---|---|
| Message-ID | <[email protected]> |
Summary: In order to test this properly, you must NOT be root! Root receives special treatment which obscures the behavior you wish to observer. The reason for this deals with the "exposed user" concept, which is well documented. I'd imagine you'll find everything working as you'd like, for other users ... Question: > 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!? Yahoo! Mail - 50x more storage than other providers! _______________________________________________ LinuxManagers mailing list - http://www.linuxmanagers.org submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected] subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers