Link to home
Start Free TrialLog in
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.

Thanks!
Avatar of tstritof
tstritof

Hi,

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?

Regards,
Tomislav
Avatar of Gssc1414

ASKER

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/

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...

http://www.msexchange.org/tutorials/Exchange-2003-SMTP-Namespace-Sharing.html

Hope this helps, Dave
ASKER CERTIFIED SOLUTION
Avatar of tstritof
tstritof

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.

Regards,
Tomislav
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!