deleting mail from the SMTP queue on a Plesk 7.5.3 server.

I have a Plesk 7.5.3 server that runs on top of Red Hat Linux 3.2.3.  I want to be able to go into the outbound SMTP Queue and delete Spam email.  I have not had any luck finding out how to do this.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
do you wish to use the Plesk interface to do this?
What SMTP server are you running?
adsnetcurveAuthor Commented:
I would like to use the Plesk interface if I could. I am using the SMTP server that was installed when I installed the Plesk server.  I think they use QMail.


I'm not especially familiar with Plesk but I do use Qmail on all of our mail servers.  If there's isn't a means to do this via the Plask admin area, I'd recommend using qmHandle:

It's a very handy script for manipulating the Qmail queue.
Just a note.  Its important to be caqreful manually removing email from a Qmail queue as a minor permission change can lock the entire queue up.  If you find that this has happened, I'd recommend John Simpson's script for restoring the permissions on a Qmail queue.  This script has bailed me out at least twice:
Just a note, I ran into issues using the above mentioned version of the qmHandle script I linked to above.  I've added a copy of a slightly older version of this script here:

This one definitely functions correctly.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.