  | |  | Sendmail masquerading not working | Sendmail masquerading not working 2005-06-06 - By Kevin Jackson
Back I'm presuming this is a typo too in just your email:
MASQUERADE_AS(`bigcorp.com.')
MASQUERADE_DOMAIN(`bigcorp.com.')
should be
MASQUERADE_AS(`bigcorp.com')
MASQUERADE_DOMAIN(`bigcorp.com')
Without the period at the end.
Kev
On 6/6/05, Kevin Jackson <uksysadmin@(protected)> 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 > > Kev > > On 6/6/05, IECISA.Ortega Gonzalez, Carlos <iecisa.cortegag@(protected)> wrote: > > > > > > > > Hi! > > > > > > > > I'm trying to configure sendmail so that all outgoing messages appear to be > > sent from another domain. According to the RHEL 3.0 documentation, the > > correct way to configure masquerading is to add the following in the > > /etc/mail/sendmail.mc file: > > > > FEATURE(always_add_domain)dnl > > FEATURE(`masquerade_entire_domain') > > FEATURE(`masquerade_envelope') > > FEATURE(`allmasquerade') > > MASQUERADE_AS(`bigcorp.com.') > > MASQUERADE_DOMAIN(`bigcorp.com.') > > MASQUERADE_AS(bigcorp.com) > > > > > > > > > > I've made these changes, used the m4 macro to generate the sendmail.cf file, > > and restarted sendmail. But when I send a message, the FROM field doesn't > > change at all. > > > > > > > > Are there any additional options in the senmail.mc file that I have to > > change? Is there any option that invalidates masquerading? > > > > > > > > Thank you very much. > > > > > > > > Regards, > > > > > > > > Carlos Ortega Gonz??lez > > > > Iberia Sistemas > > > > DS/SP/Unidad Prod. Ordenadores > > > > email: iecisa.cortegag@(protected) > > > > Extensi??n: 4691 > > > > > > > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Anti-Virus. > > Version: 7.0.322 / Virus Database: 267.4.1 - Release Date: 02/06/2005 > > > > > > > > -- ---- ---- ---- ---- ---- ---- ---- ---- --- > > > > Has decidido el mejor precio. Has decidido IBERIA.com > > > > You?ve chosen the best price. You?ve chosen IBERIA.com > > > > -- ---- ---- ---- ---- ---- ---- ---- ---- --- > > > > http://www.iberia.com > > > > -- > > Taroon-list mailing list > > Taroon-list@(protected) > > http://www.redhat.com/mailman/listinfo/taroon-list > > > > > > > -- > Kevin Jackson > Red Hat Certified Engineer > www.uksysadmin.com >
-- Kevin Jackson Red Hat Certified Engineer www.uksysadmin.com
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |