


Converting an Exchange Userbase to Unix? 54
Jwfulcher asks: "This is kind of backwards from what normal people do, which is why i'm having problems finding any documentation on it, but I have around 150 users on exchange, with distribution lists and a few custom recipients as well. The CEO wants to switch to a Unix based POP/IMAP mail solution for licensing reasons (we don't use the groupware functions anyway), I was wondering if anyone knew of a method to convert the exchange userbase and add the users on a FreeBSD system and possibly point to our Radius server (which is capable of doing NT authentication) for authentication on those accounts."
you're not going to find a canned solution... (Score:1, Informative)
Re:you're not going to find a canned solution... (Score:2)
Steltor [steltor.com] makes a canned solution. We're evaluating it for our company. Very nice. About the same price as Exchange, though.
Re:you're not going to find a canned solution... (Score:1)
couldn't resist (Score:5, Funny)
Re:no love from mirco$ont (Score:1)
Re:no love from mirco$ont (Score:1)
Some suggestions (Score:4, Informative)
You should be able to use PAM to do authentication to the Radius server. As for converting the users, you will probably have to write a script to do that. If there are tools to convert from unix to exchange, then I'm sure you can use those as a reference to do the inverse.
Re:Some suggestions (Score:3, Informative)
Your answer would be right if the question was "How do I switch from Outlook [Express] on Windows to some other mail program on FreeBSD?"
what about calendaring (Score:1, Offtopic)
Re:what about calendaring (Score:1)
While I would agree that finding a direct replacement for Exchange calendaring would be difficult, I wouldn't agree that the alternatives are unusable. Even using KOrganizer and KMail to mail around iCal files can pass as a reasonable scheduling system.
If they've already chosen to move away from Exchange, they must've considered this and found and alternative they considered better than "extremely poor."
Re:what about calendaring (Score:2)
(we don't use the groupware functions anyway)
I don't suppose the above is relevant to your remark in any way, is it?
Re:what about calendaring (Score:2)
Slave Exchanges LDAP service with OpenLDAP (Score:3, Informative)
One method would be to setup OpenLDAP as a slave to the exchange server to pull all the DLs and so forth to your unix platform. From there (with redhat at least) it is pretty strait forward to use Sendmail's integration with LDAP to use that OpenLDAP store.
If you don't want to leave OpenLDAP running you can use the MigrateTools from padl.com to see how you can convert that OpenLDAP store back to something usable. Or just export the sections you need via GQ.
Re:Slave Exchanges LDAP service with OpenLDAP (Score:2)
Point of order: Exchange 2000 doesn't run it's own LDAP server; it requires Windows 2000 Active Directory to supply LDAP services.
I vaugely remember some older Ask Slashdot's about replacing AD with a different LDAP server.
Well.. (Score:4, Insightful)
You can open an IMAP server in Outlook and open your Exchange server at the same time and just drag the mail across. For 150 people, you might need a little help to do this, but with a few helpers, it's not totally insurmountable.
Re:Well.. (Score:2)
I've used Mozilla 1.0 as a mail client in a Fortune 500 company. It works juuuust fine. Calendaring functions aside, it's as good a mail client as Outlook, without the evil.
And if you're lucky enough to be on OS X, grab a copy of Mozilla 1.0a right away. The smoothed text is strikingly beautiful on a good monitor (I'm using Futura Book at work and it looks great).
For what it's worth, Mail.app is a fine mail client, but the original questioner is not planning on buying Macs.
Re:Well.. (Score:1)
- fix a platform. Since you only care for IMAP/POP and not calendering then sendmail/cyrus IMAP/qpop makes a good combination. There are others and your choice will at least be partly dictated by your religeous beliefs
- now BACKUP your exchange store.. This is important in case anything goes bad at any stage.
- write a script to migrate your windows/exchange users to freebsd+samba (if you want to include this - which you should, if you are worried about licensing). There is a good script inside samba distribution if you are on Exchange2000 but its not very difficult to write your own. If you do want to use RADIUS, there is a PAM available for that as well.
- Beta test it. Users should be able to log-in with their older passwords and send/recieve mails.
- write another script to transfer your mail stores from Exchange to IMAP. Since Exchange supports IMAP, this is not terrribly difficult. Your script should download files from Exchange over IMAP and copy them to your local FreeBSD mailstore (WITH THE SAME TIMESTAMP).
- Beta test it again.
- Open it to public.
- Got it working !! Good!! Return that Exchange box and buy two small boxes to run more services on FreeBSD !!!
Re:Well.. (Score:2, Interesting)
You have to choose between Internet mode (POP and/or IMAP) or Workgroup mode (POP and/or Exchange).
But there is no problem to create a Personal Folders file and save all info into.
Then you can reconfigure mailsupport in Outlook and and change to Internet mode, open the previously created
Re:Well.. (Score:1)
Re:Well.. - copying imap folder contents (Score:1)
LDAP + Cyrus + PAM (Score:4, Informative)
For moving users, enable the LDAP directory service on the Exchange server and you should be able to script (or find) some LDAP-to-LDAP migration tools. At worst, do a full directory search and massage the data into an LDIF file to be imported. Moving the mail data would be harder but I imagine something could be rigged up using the Exchange IMAP service, fetchmail, procmail and the Cyrus deliver command.
If you can find a BackOffice resource CD you should be able to create a way to access the Exchange store without even going through the LDAP and IMAP services.
Re:LDAP + Cyrus + PAM (Score:2)
For moving users, enable the LDAP directory service on the Exchange server and you should be able to script (or find) some LDAP-to-LDAP migration tools.
The biggest problem is that the Outlook schema isn't totally documented (at least that I've found when I on and off look for it) -- the LDIF won't give that to you so you will have trouble importing it.
Re:LDAP + Cyrus + PAM (Score:1)
You don't need all of the details from the tree. You really only need the dn, cn, firstname, surname and SMTP address. Pull those out, tweak the dn to match your tree and put it into the LDIF. Disable schema check on the LDAP server and import the data.
Sourceforge.. (Score:1, Informative)
Between that and the import utility that someone mentioned in KMAIL, there's probably a reasonable solution in here.
Also, Bob's mail server (if I remember correctly) purports to be an Exchange replacement, too.
my $0.02 (Score:1)
What client software? (Score:2)
One is moving all the data; the other is configuring the new server with all the account and address book information.
Assuming it is still proper Outlook, you can use exmerge (avaialable from Microsoft) to dump all the mail from the server into
Failing that, (and assuming Exchange 5.5 or later)as other users have suggested, configure IMAP on the server and have the users suck the data down into their IMAP clients. (IMAP, rather than POP, so you can get folders other than just the inbox)
Also you can do a directory export to get a
What are you trying to replace? (Score:2)
If it's Exchange you could do Outlook front-end to POP/SMTP/LDAP backend and go the cheap route. Or look into some of the offerings Oracle is going to have coming up which target to use Outlook as the front end with Oracle backend and save you money and give more security than Exchange.
If it's Outlook, good luck. Your choices of widely accepted front-ends are pretty much Outlook and Notes and any change requires training the userbase on the new software.
If it's both RUN! Conceptually it's not a bad thing, but in a Corporate environment someone wanting to do this is just suicide unless you're a very small shop with very educated users. And management will be looking for scapegoats when it fails.
Re:What are you trying to replace? (Score:1)
Can you write macros! (Score:2)
You best bets are fetchmail, A UNIX mail transport agent, this can pull all the mail accross (hopefully).
op failing that, setup you mail servers on UNIX and write some VB script (in outlook coes you have it already) to transfer the data/accounts accross using MAPI.
Force password change. (Score:2)
Do you mind using windows for authentication?
You could use pam/radius or pam/ldap to talk from freebsd to windows, and do the login thing. You would have to use virtual mailboxes, and no real logins to the freebsd box. You probably want that last bit anyway. Webmail/imap can be good with this kind of setup.
Otherwise, AFAICT, you're going to have to force everyone to change their passwords. Best bet is to take a weekend. Friday, have everyone archive their email, and turn off exchange so incoming mail gets queued. Do your transition, and monday when they come in, they'll use webmail/pop/imap.
Been there, done that (Score:4, Informative)
Don't Manually Export use Exmerge (Score:2)
I don't know what Outlook does. (Score:2, Interesting)
I don't know if outlook does this. But, using mozilla I was able to copy from one account to another by just highlighting all of the messages and then right clicking and doing a copy to.
My suggestion is setup up the new box with sendmail, imap, ldap enabled. Setup imap on the exhange box and give them a mail reader that do the move. I would think that Outlook would work. Then during the night redirect all incoming e-mail from to the new box. Turn off sending e-mail and receiving e-mail on exchange if it can be done.
One possibility is to setup a front line box and have it redirect mail for only certain users so that you can do a few users at a time. You may have to do some hand holding to them to move their e-mail.
Just a suggestion.
Exchanging Exchange (Score:1)
Well....
1) Export the exchange directory so you have a list of all the mailboxes you need.
2) You could write a script to parse the file and create user accounts on the Unix box
3) It would probably be best if you stuck with the Outlook client (unless you just have to switch), so get Exmerge and export everyones mailbox to PST files and give to them. Those will become the default delivery point (in Outlook) for incomming email.
I'm not sure how you'd handle passwords, etc, unless theres some way you can authenticate against NT (or whatever MS OS you are using).
Just my thoughts (being an Exchange admin).
You don't have to give up Groupware to migrate. (Score:2)
You can find a review of it here. [linuxplanet.com]
The company's website is here [bynari.net].
The practically have to have experience in moving servers like this to have any business. You might try contacting them and seeing what they cost.
Re:You don't have to give up Groupware to migrate. (Score:2)
I'll second the comment on Bynari's InsightConnector and I'll add a plug for InsightServer. Much of what they offer is based on open source and open protocols. After checking into it, I found a few more tempting pluses;
* They respond to email! Yep, real people and reasonable answers -- no BS. Also, when one employee reciently went on vacation, his boss followed up instead of waiting a few more days for him to return. Excellent.
* Bynari provides a 1 month trial version with free support during the trial. (Smart, because if it works well you'll be more likely to buy it and won't likely need support after the first 30 days.)
* A new InsightServer licence is about the same price as upgrading from Exchange 5.5 to 2000.
* They have both low end (x86 PC) and high end (IBM mainframe) versions so either scaling up or testing the waters with a PC first are both options.
* Feature-for-feature mapping of Exchange vs. InsightServer so that Outlook clients that you do have (including calendering) work the same.
Outlook without exchange (Score:1)
Mail servers - sendmail, postfix, qmail all have or can have the ability to use an LDAP directory that specifies where the mail is going to. It gets rid of the use of alias lists to forward mail around.
pop/imap servers - there's quite a few pop servers that can authenticate off LDAP but only a few imap servers worth mentioning. Cyrus is the best free one that I have tried. At the time I tested it there was a bug in the code that caused certain outlook clients to not see which mails were read and unread correctly. I'm sure this has likely been fixed now. The mail store for Cyrus is nice and in my opinion a bit faster than the mbox or maildir formats (YMMV). UW Imap is great as long as you don't need to do any virtual hosting support, there's some hacks and patches to provide virtual hosting support but they aren't what I'd consider production quality. UW Imap does however have the best support for MS Outlook of any imap server I have tested (I've tested a lot). Courier is also nice but because the author deviated from the standards somewhat I wasn't very comfortable with it and was told by the CTO it was not an option. Mirapoint Messaging servers are a commercial "version" of cyrus. It's basically cyrus on freebsd with ldap capabilities minus all the good stuff. No ability to really customize it, it's fairly idiotproof, however I disliked the fact that it felt underpowered and the anti-spam features was not what I considered very good. I used a gateway to filter spam before it got to the mirapoint otherwise I had load issues on the mirapoint. (Using a bastion host/ gateway to filter spam outside a firewall is a good idea no matter what mail server you run)
LDAP Directories - OpenLDAP is free but it's not what I'd call "for beginners". It takes a fair understanding of the ldap schemas before you can create a schema which can be used by Outlook. iPlanet is great but isn't free. The gui is very nice and the replication is probably the easiest to configure out of all the ones I tried. Active Directory is fairly good (don't kill me) but it doesn't conform to some of the standard schemas. Exchange has it's own pseudo directory server built in and the later versions can use active directory but I dislike how for some of the givenName and surName fields you can't have a multi record field unlike what the standards says should be allowed.
Calendar - MS Outlook CAN have calendar support without the use of Exchange. You have to set the system up for publishing the calendars to a web page and it's a little bit of a pain. It took me a bit of scripting to get outlook to automate the process of actually publishing the calendars and times.
Radius server - I actually wrote code for a radius server to authenticate off the LDAP directory. The server I used was XTRadius. I published the source for the extension so I'm sure it's available somewhere.
As for pulling users out of exchange and onto a unix server. I never did find an easy way of doing it. I did it by hand for 130 employees but we weren't running exchange 2000 with active directory. If you are using active directory then you can pull the schema and do lookups. I'm sure I could write a tool in perl without much trouble that's capable of doing that. If you'd like it, I don't have much to do right now so email me personally wh@perlhacker.net and we'll work on it.
As far as a web client.. I've tried everything and I can definitely say without a doubt the horde.org project is *the best*. They're the only thing I've seen that really pulls email, calendar, to-do, etc like exchange into a very useable GUI.
Gotta run.. going fishin'
WH
Some ideas (Score:1)
If I remember correctly, Exchange is capable of serving LDAP, so you _could_ just do a ldap search on it and import that in the LDAP system. If you use the qmail/LDAP system, you don't need local accounts. Plus, it's all opensource, so you can pass the authentication towards another system if you like.
Towards an answer to the question (Score:1)
First make sure all users have the new POP3/SMTP services set up, and set as defaults. You can do this by hand, by sending them instructions (yeah, right) or more Perl and VBScript deployed using a group policy or as signed code using the scripting stuff in the resource kit.
This includes setting up Personal Folders (outlook.pst) files for each user.
My recommendation for POP3 settings is (advanced tab):
Do you need to take the current contents of their mailboxes too?
If so, the easiest way is to tell them you will be turning Exchange off, and that they must copy any mails they want to keep to their personal folders file. After some time has passed, and you have reminded everyone several times, turn Exchange off and wait to see if you get any complaints. If you do, you can turn it back on temporarily to let them do the copy.
Finally, I really suggest something like Netmeeting or SMS (or PCAnywhere or VNC... but I tend to go with vendor products, particularly when they are free, as Netmeeting is) to allow you to assist users who can't do it themselves.
Good luck!
DONE IT (Score:1)
Ive not realesed this stuff but will do it as part of axisgroupware [www.axisgroupware.org]....
Re:DONE IT (Score:1)
Why is everybody making the user do all the work? (Score:1)
Given that IMAP can be enabled for Exchange 5.5/2k, you should then be able to automate the moving of data from Exchange into your new IMAP server (throughly recommend Cyrus [cmu.edu]), atleast for mail anyways, contacts & calendar info is next to useless outside exchange (but retrievable via IMAP).
I DO WORK LIKE THIS... (Score:1)