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
In another post "raid type" I've mentioned how to find if the server is running with Software or Hardware RAID.
Here, we can go ahead and check the health of the Hardware RAID array in the server.
The first thing we need to detect is the controller in which the raid is configured and you can easily get it from the another post that I mentioned earlier. However, I'm providing it here again for your convenience.
1. Login to the server as the root user.
2. Execute the following command.
/sbin/lspci -vv | grep -i raid
3. This will show the raid controller running on the server. The different types of controller I've worked with includes
a. Megaraid which uses megacli
b. Adaptec which uses arcconf.
c. 3ware raid which uses tw_cli
d. HPraid which uses hpacucli.
How to check the Megaraid array health status?
The Megaraid is usually installed in the /opt/MegaRAID and you can execute the following command to verify the health of the array.