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: mailuser@domain.com
  2. in /opt/zimbra/postfix/conf/main.cf add the line:
    always_bcc = mailuser@domain.com
  3. Restart zimbra

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/backup.zimbra.version.date.time.tar.gz -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

Syndicate content