-
Deleting mail in queue
I have several hundred emails in my queue which are taking up my daily mail limit and do not want to have to download them all using Outlook. I've been looking for a command to delete them from the queue with ssh but haven't found any. I use Plesk and QMail. Any tips?
-
Why not delete the mails through web mail ?
If you need to delete all mails in queue, do
/etc/init.d/qmail stop
find /var/qmail/queue/mess -type f -exec rm {} \;
find /var/qmail/queue/info -type f -exec rm {} \;
find /var/qmail/queue/local -type f -exec rm {} \;
find /var/qmail/queue/intd -type f -exec rm {} \;
find /var/qmail/queue/todo -type f -exec rm {} \;
find /var/qmail/queue/remote -type f -exec rm {} \;
/etc/init.d/qmail start