Solved

Routing UNIX Sendmail to Exchange 2003

Posted on 2004-09-01
4
834 Views
Last Modified: 2013-12-23
What is the best way to set up a internal Unix sendmail server to relay ALL email to an internal Exchange server? Our vendor app uses sendmail to message local (unix) users and we need to be able to add our email domain to the username of the unix server. I hope this all makes sense...

Set up:

Unix user = UnixName
Exchange Domain = companydomain.com.au
Local Domain = internal.loc
Unix Server FQN = UnixServer.internal.loc
Exchange Server = Exchange.internal.loc

We have an internal DNS server for internal.loc and all external DNS records are hosted off site with no zone in our local DNS.
The Exchange server is responsible for ALL internal and external messaging. The Sendmail server only generates the unix user messages and relays them to Exchange.

Example:

When a message is sent to UnixName from our vendor app, it is forwarded by Sendmail as UnixName@Exchange.internal.loc rather than UnixName@companydomain.com.au. Even if you manually enter UnixUser@companydomain.com.au it hits our Exchange server as UnixUser@Exchange.internal.loc. I do not want to have to create additional email profiles in Active Directory if I don't have to so I want all messaging from the Sendmail server to go out as @companydomain.com.au and NOT @Exchange.internal.loc...

I can work around this to some degree by adding a email address to a recipients AD profile in the format of UnixUser@Exchange.internal.loc but I do not want to have to maintain this manually. Unfortunately - you cannot create a recipient policy in Exchange for Exchange.internal.loc - it won't allow a smtp address policy that points to itself.

I've set up all the masquerading in the sendmail.cf file so that messages sent to external recipients from our vendor app will resolve via reverse DNS, I just have this one last piece to figure out. If I could get sendmail to send unqualified messages to UnixUser@companydomain.com.au, I'd be done with this!

Any help would be greatly appreciated!!!

Thanks,

Matthew Kaess
0
Comment
Question by:kaesm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 5

Expert Comment

by:paranoidcookie
ID: 12025569
I suggest you add

MASQUERADE_AS('companydomain.com.au')

Then rebuild your sendmail config. Otherwise sendmail assumes mail is sent from the local machine.
0
 

Author Comment

by:kaesm
ID: 12129065
We have resolved this by setting up aliasing with a cron script which will rebuild the file weekly. This way it grabs any new users and creates the aliase address as needed.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12502772
PAQed, with points refunded (250)

modulo
Community Support Moderator
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Suggested Courses

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question