Koozali.org: home of the SME Server

Remove e-mail in outbound queue v6.5

Offline cb-wizard

  • **
  • 31
  • +0/-0
Remove e-mail in outbound queue v6.5
« 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
...

Offline ldkeen

  • *
  • 403
  • +0/-0
Remove e-mail in outbound queue v6.5
« Reply #1 on: December 02, 2005, 08:05:33 AM »
You will need to download and install qmHandle which you can get from here.
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