Category: Zimbra

  • Backup – restore user mailbox in Zimbra

    Elegant way to backup or restore user mailbox in Zimbra. Tested in Zimbra 8.x and works. BACKUP user mailbox: /opt/zimbra/bin/zmmailbox -z -m user@domain.tld getRestURL “//?fmt=zip” > /backup/dir/user@domain.tld.zip RESTORE user mailbox: /opt/zimbra/bin/zmmailbox -z -m user@domain.tld postRestURL “//?fmt=zip&resolve=reset” /backup/dir/user@domain.tld.zip SOURCE: http://blog.zimbra.com/blog/archives/2008/09/zcs-to-zcs-migrations.html http://www.sfu.ca/~hillman/zimbra-hied-admins/msg00583.html

  • Zimbra migration from 7 to 8 + 32 bit to 64 bit server

    WHAT IS THE GOAL Migrate Zimbra 7 (mailboxes, documents,…) to new 64 bit server with Zimbra 8.0. STEP BY STEP GUIDE 1. PREPARE OLD SERVER name: mail.domain.tld OS: Centos 5.8 32 bit Zimbra: Zimbra 7.2.0 [zimbra@oldserver ~]$ cat /etc/redhat-release CentOS release 5.8 (Final) [zimbra@oldserver ~]$ zmcontrol -v Release 7.2.0_GA_2669.RHEL5_20120410001957 CentOS5 FOSS edition. UPGRADE to latest…

  • Upgrade to Zimbra 7.*

    Platform Centos 5.5 32bit Previous version of Zimbra 6.0.12 1. Download zcs 7 with wget; [root@server ~]# wget http://files.zimbra.com/downloads/7.0.1_GA/zcs-7.0.1_GA_3105.RHEL5.20110304210448.tgz 2. Unpack zcs 7 in current directory; [root@server ~]# tar xvzf zcs-7.0.1* 3. Change directory to zsc-7.0.1*; [root@server ~]# cd zcs-7.0.1* 4. Install zcs 7 on Centos 5.5 with –platform-override ; [root@server zcs*]#./install.sh -s –platform-override 5.…

  • Zimbra – change user COS (Class of Service )

    zimbra@servername:~$zmprov sac name.surname@domain.ltd cosname

  • Zimbra statistical daemon doesnt running

    PROBLEM (zmstatd doesnt run) [zimbra@mail ~]$ zmstatctl status Running: zmstat-cpu Running: zmstat-mysql Running: zmstat-io-x process 16010 in /opt/zimbra/zmstat/pid/zmstat-fd.pid not running Running: zmstat-proc Running: zmstat-df Running: zmstat-vm Running: zmstat-mtaqueue Running: zmstat-allprocs Running: zmstat-io SOLUTION [zimbra@mail ~]$ mv /opt/zimbra/zmstat/pid/zmstat-fd.pid  /opt/zimbra/zmstat/pid/zmstat-fd.pid.old [zimbra@mail ~]$ zmcontrol stop && zmcontrol start << restart zimbra server

  • Zimbra restore

    INSTALLATION 1. Clean install Centos 5.5 (minimal) # my anaconda-ks.cfg # Kickstart file automatically generated by anaconda. install cdrom lang en_US.UTF-8 keyboard slovene network –device eth0 –bootproto static –ip *** –netmask *** –gateway *** –nameserver ***,*** –hostname host.domain.com rootpw –iscrypted $********************************** firewall –enabled –port=22:tcp authconfig –enableshadow –enablemd5 selinux –enforcing timezone –utc Europe/*************** bootloader –location=mbr –driveorder=hda…

  • Zmstatd doesn´t start

    Check the permission of the /opt/zimbra/zmstat directory: # ls -la /opt/zimbra/zmstat drwxr-xr-x 2 root root 4096 Apr 26 00:00 2010-04-25 drwxr-xr-x 2 root root 4096 Apr 27 00:00 2010-04-26 drwxr-xr-x 2 root root 4096 Apr 28 00:00 2010-04-27 drwxr-xr-x 2 root root 4096 Apr 29 00:00 2010-04-28 drwxr-xr-x 2 root root 4096 Apr 30 00:00…