You are here


Technical Notes

These notes are my personal online notebook of useful commands and "how-to's". You are welcome to make use of them if you find them helpful. They obviously don't come with any warranty! Click on one of the category tags above for the notes in any category.

fix Zimbra database errors

For logger errors:

su - zimbra
#find the regular and logger passwords
zmlocalconfig -s | grep mysql_password
#I didn't need to go any furthur because the logger processes stopped eventually and left it clean

this page had some info under "closed the table properly":


Misc Zimbra notes

To archive all outgoing email:

  1. Create an account with large quota. i.e:
  2. in /opt/zimbra/postfix/conf/ add the line:
    always_bcc =
  3. Restart zimbra
  4. Login to mailuser acount and from options tab set a filter to discard all messages other than the specific users you want to audit.

To upgrade to a new version


Zimbra backup snippit

su - zimbra
zmcontrol stop
become root
ps aux | grep zimbra (kill -9 pid# of any remaining processes)
mkdir /zcsbackuprsync
rsync -avHK /opt/zimbra/ /zcsbackuprsync/zimbra
mkdir /zcsbackuptars
tar -zcvf /zcsbackuptars/ -C /zcsbackup/zimbra .


Zimbra backup using LVM and rsync

Zimbra VM and LVM re-organization

My default Zimbra VM install uses LVM within its own virtual machine. This makes it harder to get at the data from outside the VM, and so complicates backup. The following steps need to be taken

Subscribe to RSS - Zimbra