Qmail to Exchange - Mailbox level forwarding

ITNC
ITNC used Ask the Experts™
on
We have a qmail server that has been in use for years and we are finally moving to exchange 2010 server. We have hundreds of users and migrating them all at one time is out of the question. Is there a way we can have both email servers active but forward specific user mailboxes from qmail to exchange? We want to wait to change the MX record as it will take sometime before we can get everyone migrated and they cannot miss any emails (very time critical). Any suggestions are welcome.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2017
Commented:
Yes, it depends on your qmail setup.
Adding a .qmail file in the user's home dir with
&usename@exchangeserver.domain.com
If you qmail, has ldap integration, you might be able to alter the handling by changing the user's settings to forward the messages.

Qmail has tools such as maildir2smtp which might be what you are looking for that you could script to pump out the existing messages from qmail mailboxes to the exchange mailbox.

Are your plans to decommission the qmail server, or have it remain in place to handle shielding the exchange through use of anti virus, spam, checks prior to passing the messages to the exchange for processing?

Author

Commented:
Ultimately I plan on phasing out the qmail server completely. That .qmail file looks to be the easiest solution I think I will try that. Thanks for the info, I will test this with a user and get back with you.

Author

Commented:
Can you send a link on the proper setup of the .qmail file? I found a few things but they don't cover forwarding.
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

Distinguished Expert 2017

Commented:
all it needs to have is the address to which you are forwarding
&username@domain.com

In your case, you want it to be routed to the exchange so you would use
&username@exchange.domain.com

This presumes that the handling of emails for username@domain.com will be the same as username@exchange.domain.com.

What is your qmail setup like, do you have vpopmail, or similar access?

Author

Commented:
We are using vpopmail I believe. Thanks again for the info I will test with a user here shortly.
Distinguished Expert 2017

Commented:
Have you looked at using maildir2smtp to pump the maildir messages out?
I believe this process does not delete the messages from the existing Maildir.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial