  | |  | Sendmail masquerading not working | Sendmail masquerading not working 2005-06-06 - By Ed Wilts
Back On Mon, Jun 06, 2005 at 03:29:39PM +0200, IECISA.Ortega Gonzalez, Carlos wrote: > Kevin Jackson wrote: > > >make sure you have the package sendmail-cf installed. > >Then make the change in /etc/mail/sendmail.mc > >make -C /etc/mail/ > >service sendmail restart > > I've tried this, and still the emails keep the original email address.
Are you testing with a non-root user? By default, root is exposed so it won't be masqueraded. Here's what I'm doing for my home system:
MASQUERADE_AS(`ewilts.org')dnl FEATURE(masquerade_envelope)dnl FEATURE(masquerade_entire_domain)dnl MASQUERADE_DOMAIN(ewilts.home)dnl dnl EXPOSED_USER(`root')dnl
I've prevented root from being exposed since I use a smart host and it will reject any e-mails from root@(protected) (since it's a bogus domain in the Internet world).
-- Ed Wilts, RHCE Mounds View, MN, USA mailto:ewilts@(protected) Member #1, Red Hat Community Ambassador Program
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |