Importing contacts Well, I may be able to help with one part of it: importing the contacts. The iSync gadget is giving me fits too, though.
I read that if you use Outlook to export contacts to csv, then Zimbra web interface just imports it (from Preferences). Can't deny or confirm, since our Outlook dies with "unable to start import/export service".
Here's what I did:
1. Bought a shareware set of AppleScripts, exportimportentouragex_1310.zip.
2. Used the Export Entourage Contacts/Groups script to export all contacts to a file. The scripts I have only produce tab-delimited files. The script asks you for the directory into which to place the output, but the output is always called 'Contacts Export EvX.txt'
3. Edited that file:
i. Deleted the last two lines (they contain some sort of metadata).
ii. Deleted all " (double quotes).
iii. Replaced (I used Emacs) all tabs with "," (double quote, comma, double quote).
iv. Placed a " (double quote) at the beginning and at the end of each line.
v. Replaced the first, header line with this:
"Full Name","First Name","Last Name","Salutation","Suffix","Nickname","Company"," Job Title","Department","Business Street","Business City","Business State","Business Postal Code","Business Country","Web Page","Home Street","Home City","Home State","Home Postal Code","Home Country","Home URL","Default Address","Home Phone","Home Phone 2","Home Fax","Business Phone","Business Phone 2","Business Fax","Pager","Mobile Phone","Company Main Phone","Assistant Phone","Old mobile","PDA Support","Custom Phone 3","Custom Phone 4","Custom 1","Custom 2","Custom 3","Custom 4","Custom 5","Custom 6","Custom 7","Custom 8","Custom date 1","Custom date 2","Spouse","Birthday","Anniversary","Children","N otes","Age","Astrology sign","Interests","Furigana First Name","Furigana Last Name","Furigana Company Name","Furigana Spouse Name","Bloodtype","Japanese Format","Categories","E-mail Address","E-mail 2 Address","E-mail 3 Address","E-mail 4 Address","E-mail 5 Address","E-mail 6 Address","E-mail 7 Address","E-mail 8 Address","E-mail 9 Address","E-mail 10 Address","E-mail 11 Address","E-mail 12 Address","E-mail 13 Address"
4. Used this command to convert the file from "Mac line breaks" to "Unix line breaks":
perl -pi -e 's/\r/\n/g' < 'Contacts Export EvX.txt' > Contacts.txt
5. Used the Zimbra web interface (Preferences, Address Book, Import CSV file) to import this file. I use Firefox, so I have to sit and click "Continue" a few dozen times because Firefox thinks the script is taking too long and may be hung.
I've done this several times, and it worked for me reliably. The conversion isn't perfect, for example, the Department field is missing, and once in a while I have to rearrange work and home street addresses, etc. But all in all, it's usable (if you are a masochistic, desperate-to-escape-Exchange geek like me).
Now, if only I could get the Zimbra Apple iSync Connector to load the Address Book with these entries, instead of with duplicated, outdated, coming -from-Satan-knows-where entries... we may actually convert our evaluation Zimbra to a bought one. But that's the subject for another thread. |