Deleting old emails from qmail in 3 steps
1. Then stop the server
/etc/init.d/qmail stop
2. Command to remove all the old messages:
find /var/qmail/mailnames/[DOMAIN]/[USER]/Maildir/curr -mtime +X -print | xargs rm
replace +X with the number of days, and [DOMAIN]/[USER] with the appropriate domains and user.
the Maildir/new folder contains messages in the queue.
Depending on how many messages are in the folder the above command can take a few minutes – do not cancel until you get back to the prompt.
3. Start the server
/etc/init.d/qmail start
fixing high cpu in linux virtualbox guest os
edit the boot loader kernel arguments…. add a “divider=10” without quotes to the kernel arguments
example
kernel /vmlinuz-2.6.18-164.6.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet divider=10
