Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: cb-wizard on December 01, 2005, 04:36:16 PM

Title: Remove e-mail in outbound queue v6.5
Post by: cb-wizard on December 01, 2005, 04:36:16 PM
Hi

How do i identify and remove e-mail that sits in the outbound queue after a Windows virus sent millions of e-mails from the network?

Thanks
Title: Remove e-mail in outbound queue v6.5
Post by: ldkeen on December 02, 2005, 08:05:33 AM
You will need to download and install qmHandle which you can get from here. (http://mirror.contribs.org/smeserver/contribs/saco/contrib/e-smith-qmHandle/e-smith-qmHandle-1.0.0-7.noarch.rpm)
Next you need to stop qmail. I saw a reply saying the proper way to stop qmail was
Code: [Select]
svd -d /service/xxx but I tried this and it didn't work so I used the following
Code: [Select]
#/etc/rc7.d/S80qmail stop
#/etc/rc7.d/S85smtpfront-qmail stop

Once qmail is stopped from the command line run
Code: [Select]
#/usr/bin/qmHandle -D
(WARNING - this will delete ALL the mail from both the local and remote mail queue's). Now you can restart qmail.
Code: [Select]
#/etc/rc7.d/S80qmail start
#/etc/rc7.d/S85smtpfront-qmail start

Hope that helps.
Regards Lloyd