3) From the qread command you get the message id . In the above example , let us assume one of the id is 524514 . Now you can find the file holding the email in/var/qmail/queue with find command.
# find /var/qmail/queue -iname 524514
/var/qmail/queue/mess/22/524514 (mail headers)
4) From the mail header you get the IP address
Shortcut for the cool guys
find /var/qmail/queue -iname queu_id | grep mess | xargs less
It happens rarely but when it does, it is hard to handle. The OpenVZ VM's are usually stable in nature, but I've encountered situations where OpenVZ VM was showing file system error and was refusing to start.
You can follow the below steps to recover the VM.
1. ~# vzctl stop ctid
2. # ploop mount /vz/private/ctid/root.hdd/DiskDescriptor.xml
3. now do a df -h and you will get the ploop id for the VM.
4. fdisk -l /dev/ploop12345
5. e2fsck /dev/ploop12345p1
6. ploop umount -d /dev/ploop12345
7. vzctl start ctid