Avatar of Gssc1414
Gssc1414Flag for United States of America asked on

Configuring Exchange 2003 server to route mail to Linux box

I am very unfamiliar with message routing with Exchange and we have a current appication where I need the e-mail sent to a specific e-mail address in our AD to be routed to the SMTP server on the linux box where our ticket system is.

We are using Exchange 2003 SBS and Linux Centos v5.

So I need the following to happen:

Someone sends an e-mail to support@amce.com. The message is recieved by our main SMTP server (smtp.acme.com) and forwads it to linux.amce.com where the ticket system can deal with it.

Could anyone provide detailed instructions or maybe a link to detailed instuctions on how to set this up properly? I am needing an easy to follow solution here as it is coming down to cruch time. I plan on awarding points today if sufficent answers are given.

ExchangeEmail Protocols

Avatar of undefined
Last Comment

8/22/2022 - Mon


1) Do you want to store the e-mail in Exchange mailbox too or just forward it to Linux box?
2) Can you set up a namespace different than amce.com on your Linux SMTP server?


1) Either way, I can store a copy on the Exchange server or just simply pass it through - doesn't matter to me.
2) No, I have to use the same namespace on the linux box.

You could enable pop3 on the exchange server and use something like getmail [1] to pull the email from the Exchange server into the Linux server every few minutes.

[1] http://pyropus.ca/software/getmail/
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck

You need to configure Exchange so that it isn't authoritative for the shared SMTP address space (@acme.com in your example). If acme.com is your primary address space then you may need to add a phantom address space as your default (you can't configure Exchange so that it isn't authoritative for your default address space). When Exchange receives email for a non-authoritative  address space, if the recipient isn't in Active Directory then it will attempt to deliver the message to a system that it. This needs to be your Linux box. You can do this in a number of ways. The most suitable for your circumstances will probably be to configure the Exchange SMTP virtual server to forward all unresolved recipient email to a specific host.

Everything you need to know is right here...


Hope this helps, Dave

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

One more thought.

If during the test process you run into Exchange errors saying that the e-mail can't be relayed for acme.ticket domain, then go to the properties of your new SMTP send connector (Support Ticketing on Linux Box) in Exchange System Manager and place a check mark in Allow messages to be relayed to these domains field on the Address Space tab.


Wow, thanks for the awsome response Tomislav.... This is exactly what I was looking for.

I will be testing it out today hopefully (if other people cooperate with me) and will award points asap.

Thanks again!
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.