System Info:
Description: Ubuntu 10.04.4 LTS
Linux mail 2.6.32-42-server #95-Ubuntu SMP Wed Jul 25 16:10:49 UTC 2012 x86_64 GNU/Linux
H/W path Device Class Description
====================================================
system Bochs
/0 bus Motherboard
/0/0 memory 96KiB BIOS
/0/401 processor QEMU Virtual CPU version 1.0.50
/0/402 processor CPU
/0/1000 memory 2GiB System Memory
/0/1000/0 memory 2GiB DIMM RAM
/0/100 bridge 440FX - 82441FX PMC [Natoma]
/0/100/1 bridge 82371SB PIIX3 ISA [Natoma/Triton II]
/0/100/1.1 scsi1 storage 82371SB PIIX3 IDE [Natoma/Triton II]
/0/100/1.1/0.0.0 /dev/cdrom disk DVD reader
/0/100/1.2 bus 82371SB PIIX3 USB [Natoma/Triton II]
/0/100/1.3 bridge 82371AB/EB/MB PIIX4 ACPI
/0/100/2 display GD 5446
/0/100/a storage Virtio block device
/0/100/12 network Virtio network device
/1 eth0 network Ethernet interface
I accidentally installed Postfix from APT onto our Zimbra email server virtual machine (KVM/Proxmox VE 2.1). I purged it instantly, however, it did not help. The following are the steps I took in a desperate attempt to fix it:
- Reinstalled Zimbra
- Stopped Zimbra service
Reset permissions
chown -R zimbra:zimbra /opt/zimbra
Fixed permissions
/opt/zimbra/libexec/zmfixperms -verbose -extended
Restarted Zimbra service
Renewed the Zimbra SSH keys
zmsshkeygen
Updated Zimbra SSH keys
zmupdateauthkeys
Following the steps above, Zimbra now works again, the problem is that all the emails that were in the mail queue from a whole day of broken Zimbra, are now GONE! And I don't just mean that you can't see them in the GUI, they're not even on the file system anymore.
There were at least 75 emails that were in the queue when I attempted to fix Zimbra, and this is the state of the spool now:
zimbra@mail:~$ postqueue -p
Mail queue is empty
Where the heck did all my emails go!?
tree
is cute and all, you'd be better severed withsu - zimbra -c "postqueue -p"
/var/log/maillog
.