  | |  | Sendmail masquerading not working | Sendmail masquerading not working 2005-06-08 - By Kevin Jackson
Back Don't get into the habit of editing the .cf file. Read the warning in that file - "DO NOT EDIT THIS FILE".
Have a look in the sendmail-cf/README doc:
limited_masquerade Normally, any hosts listed in class {w} are masqueraded. If this feature is given, only the hosts listed in class {M} (see below: MASQUERADE_DOMAIN) are masqueraded. This is useful if you have several domains with disjoint namespaces hosted on the same machine.
Though I get the feeling you just want a default sendmail.mc as supplied by Red Hat to do what you need to do - i.e. no Masquerading.
dnl MASQUERADE_AS(`mydomain.com')dnl dnl # dnl # masquerade not just the headers, but the envelope as well dnl # dnl FEATURE(masquerade_envelope)dnl dnl # dnl # masquerade not just @(protected), but @*.mydomainalias.com as well dnl # dnl FEATURE(masquerade_entire_domain)dnl
Edit that file (/etc/mail/sendmail.mc) make -C /etc/mail service sendmail restart Test
Kev
On 6/8/05, Aras <an@(protected)> wrote: > Monday, June 6, 2005, 4:45:22 PM, Ed Wilts wrote: > > EW> MASQUERADE_AS(`ewilts.org')dnl > EW> FEATURE(masquerade_envelope)dnl > EW> FEATURE(masquerade_entire_domain)dnl > EW> MASQUERADE_DOMAIN(ewilts.home)dnl > EW> dnl EXPOSED_USER(`root')dnl > > Hello, > > Perhaps this is another side of the same question... > > I want Sendmail NOT to masquerade my domain, but to put official > server name as found in rDNS. Now I'm getting an additional subdomain > added. For example, if my server's name is: subdomain.domain.com, > sendmail puts something like subdomain2.subdomain.domain.com in the > headers. Haven't touched .mc file, but I have following in sendmail.cf > file: > > Dj$w.subdomain.domain.com > > Thank you for any info how I can change that. > > Aras. > > -- > Taroon-list mailing list > Taroon-list@(protected) > http://www.redhat.com/mailman/listinfo/taroon-list >
-- 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.
|
|
 |