Solved

Routing UNIX Sendmail to Exchange 2003

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Join & Write a Comment

Suggested Solutions

Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now