If you have a bunch of .msg files that you got from a client who would like you to import those outlook emails into zimbra you could use these scripts. Also if you need to import contacts from vcf files you've come to the right place.
- zimbra install on linux
- msgconvert http://www.matijs.net/software/msgconv/
# Install /usr/local/bin/msgconvert
cpan -i Email::Outlook::Message
wget https://github.com/charljmert/zimbra/archive/master.zip
unzip master.zip
cd zimbra-master/
./setup.sh
- Convert .msg files to .eml
zimbra_convert_msg_to_eml.pl MyDir/Emails
- Import files to an Inbox
zimbra_import.pl MyDir/Emails /Inbox [email protected] eml --zimbra-home /opt/zimbra/
There are scripts to deal with importing contacts. You can unload a contacts directory on the contact script like so.
find MyDir/Contacts -type f | zimbra_import_contact.pl [email protected]
- The main script zimbra_import.pl will handle all importing including msg, eml, vcf, vcs and ics
- There is no script to deal with importing vcs and ics calendars
- There is also no script to deal with PST's