?
Solved

Routing UNIX Sendmail to Exchange 2003

Posted on 2004-09-01
4
Medium Priority
?
848 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
This program is used to assist in finding and resolving common problems with wireless connections.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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…
Suggested Courses

771 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