Can I route to different smart host based on mailfrom domain?

My layout....

2 seperate domains (more, but for simplicity's sake...)
1 E2k server.
1 SMTP relay for each domain.

So on the Exchange box are all the mailboxes. joe@a.com and jon@b.com. B.COM mail comes into mail.b.com and A.COm mail comes into mail.a.com. Then the relays forward the mail (after spam filters and other fancy archiving stuff) to the Exchange box and voila, we have delivery. When both a.com and b.com users send mail, it is routed to a smart host - only one - so b.com's email actually goes OUT on a.com's SMTP relay. That's bad and i don't want that and legally I can't have that. I can add virtual host all day long and IPs to the Exchange box as necessary. So how can I route outgoing mail from joe@a.com's email to mail.a.com and jon@b.com to mail.b.com?

Thankx
8-M4n
8-M4nAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JasonBighamCommented:
I did what you are trying to do via two routing groups and two SMTP connectors which are restricted to the associated routing group... but I have two servers.

http://www.experts-exchange.com/Networking/Email_Groupware/Exchange_Server/Q_20768191.html

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AdamGatesCommented:
To control the outbound domains create two SMTP Connectors and set the address space on each to their respective domains. Then set the Smart host for each to the SMTP gateway of your choosing.
I see no need for two E2k servers.



something else that may interest you if you ever put E2k on the Internet:
To get a virtual server to respond with a different domain name on the same server http://support.microsoft.com/default.aspx?scid=kb;en-us;287647&Product=exch2k
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.