Selected sendmail accounts forwarded to exchange

I have all of our clients setup with email accounts on our mail server (redhat 2.4.20-28.9smp/sendmail 8.12.8).  
I want email sent to user1 to stay as normal and email sent to user2 to be forwarded to an internal exchange server thats setup as a test.

I also need to make sure that mail comes into the same address, and goes out as the same address.

Ex:
user1@domain.com -> sendmail.domain.com

user2@domain.com -> exchange.domain.com

but when they send email, the emails go out as user1@domain.com and user2@domain.com so I don't have to mess with MX records or forwarding ports on the firewall or anything.
LVL 2
illushinzAsked:
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.

CBozemanCommented:
Just put a .forward file in the user's home directory saying user2@exchange.domain.com

Then make sure users2 has their email client email address set as user2@domain.com

Another solution is to use a virtual user table.
See http://www.sendmail.org/virtual-hosting.html

CBozeman
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
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
Networking

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.