I am looking at backup solutions for Zimbra OSE. As it doesn't have a built in automated backup I thought I would try IMAPSync as a cronjob. At the moment I am in the test face. I have a physical server (which hope to make go live) and a virtualized zimbra (using virtual box). Both using Ubuntu 12.04 LTS. I have come up against a problem as regards to IMAPsync. I googled the issue and found a link saying it was a bug. https://bugzilla.redhat.com/show_bug.cgi?id=999899 Admittedly this bug is for Fedora rtaher than Ubuntu. I was wondering if anyone knew of a way around it? I appreciate this is an IMAP Sync issue as opposed to Zimbra.

What I am doing so I don't need the users passwords is I set up a imap_user file with domains and users. Then I have a separate file which uses the administrators password. in the file we have the following:

. /opt/Zimbra_Scripts/imap_users #if in the same folder as imap_users e$

for ((i = 0 ; i < ${#users[@]} ; i++ ))
/usr/bin/imapsync/imapsync --noauthmd5 --syncinternaldates --subscribe \
--host1 --user1 ${users[$i]} --authuser1 <admin_user> --password1 <admin_password> --ssl1 \
--host2 --user2 ${users[$i]} --authuser2 <admin_user> --password2 <admin_password> --authmech1 login --authmech2 login --debug --ssl2


nb. I have replaced the admin username and passwords for this forum for security reasons ;-) I know I don't need to state that

The error I get from running this script is: Undefined subroutine &IO::Socket::SSL::set_ctx_defaults called at /usr/bin/imapsync/imapsync line 2176

The version of Zimbra I am using on both is: 8.0.6
The version of IMAPSync is: 1.580
The version of Ubuntu Server is: 12.04 LTS
Not using Apparmor
RAM used on virtual machine is 1GB on a 4GB host
The phsyical server which we want to put live has 8Gb RAM