Masquerading

I have an internal RHEL server called gospel on domain cotw. This is on a Windows network w/ an Exchange server (mail.camp-of-the-woods.org).  I need to get application generated emails from my RHEL box to masquerade as coming from my exchange box.
I have attempted the following changes to my sendmail
:
define(`SMART_HOST', mail.camp-of-the-woods.org)dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
MASQUERADE_AS(camp-of-the-woods.org)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(gospel)dnl
MASQUERADE_DOMAIN(gospel.cotw.local)dnl
MASQUERADE_DOMAIN(camp-of-the-woods.org)dnl

My resultant email still reflects what's shown below.  Some headers are changed but not the important ones regarding RDNS.  What else can I try?
Microsoft Mail Internet Headers Version 2.0
Received: from mail pickup service by mail.camp-of-the-woods.org with Microsoft SMTPSVC;
       Tue, 18 Oct 2011 13:55:19 -0400
X-SCL: 5 67.76%
Received: from gospel.cotw.local ([50.49.253.243] RDNS failed) by mail.camp-of-the-woods.org with Microsoft SMTPSVC(6.0.3790.4675);
       Tue, 18 Oct 2011 13:55:09 -0400
Received: from gospel.cotw.local (localhost.localdomain [127.0.0.1])
      by gospel.cotw.local (8.13.8/8.13.8) with ESMTP id p9IHt8YA017253
      for <randy@camp-of-the-woods.org>; Tue, 18 Oct 2011 13:55:08 -0400
Received: (from randy@localhost)
      by gospel.cotw.local (8.13.8/8.13.8/Submit) id p9IHt8sv017252
     for randy@camp-of-the-woods.org; Tue, 18 Oct 2011 13:55:08 -0400
Date: Tue, 18 Oct 2011 13:55:08 -0400
From: Randy Huseland <randy@camp-of-the-woods.org>
Message-Id: <201110181755.p9IHt8sv017252@gospel.cotw.local>
To: randy@camp-of-the-woods.org
Subject: testing
Return-Path: randy@camp-of-the-woods.org
X-OriginalArrivalTime: 18 Oct 2011 17:55:09.0315 (UTC) FILETIME=[138C8D30:01CC8DBF]

rhuselandAsked:
Who is Participating?
 
arnoldCommented:
Oh, the Masquerade occurs prior to the message being submitted to the Exchange which is the source of the Received header you referenced.  Nothing on the sendmail side can be done to handle this.
You would have to update the RDNS for the IP in question to reflect a different hostname.
0
 
arnoldCommented:
The only people who would know the path the mail took are those who look at the message headers.

The masquerade deals with altering visible content From: etc.
http://www.cyberciti.biz/tips/sendmail-masquerading-configuration-howto.html

0
 
rhuselandAuthor Commented:
Yea but the problem is Received: from gospel.cotw.local ([50.49.253.243] RDNS failed
I need to make gospel.cotw.local turn into mail.camp-of-the-woods.org so RDNS will pass.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
arnoldCommented:
Did you update the configuration after adding the parameters as outlined in the link I posted?

Provided the From: and/or Reply-To: address would direct the response to the correct location, I've not seen a reason to do this setup.  At times it could make it harder to troubleshoot/isolate the source of an email even though an individual receiving an email from each source will clearly see the difference i.e. one will have many more Received Lines.
0
 
rhuselandAuthor Commented:
Hmmm. Not the answer I was looking for. Maybe I'll have to look for another solution.
0
 
arnoldCommented:
What is the significance that you are going through all this.
Does your exchange server also has IIS for OWA?
You could have your process submit email via IIS to an ASP/ASP.NET page that will generate the email. i.e. submit the data as a form.
Alternatively, you could use masquerade as you have, but send the message directly versus routing it through the exchange. This way the receiving server will not be able to differentiate whether the sender is the exchange or not, but the headers will clearly have sendmail as the sending app versus an MS SMTP service.
0
 
rhuselandAuthor Commented:
Basically "fixed" it by forcing a change to my Received header in my sendmail.cf.
0
 
Jeff PerkinsOwnerCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.