Solved

Routing UNIX Sendmail to Exchange 2003

Posted on 2004-09-01
4
819 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

740 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