Qmail Queue Stuck: How to Clean Qmail Queue Fast
- No Comments »
Twitter
Share
Stop Qmail Server Processes for my plesk dedicated server: How to empty qmail queue, how to clean Qmail queue? I rebuilt qmail binaries to implement the mail tap patch, without letting qmail-send stop completely.
Qmail Message Stuck in Queue: How to Clean Qmail Queue Instantly? Solution to this problem as noted from the iflove forum from back in 2008, scripts in this post are currently hosting plesk server at another site to ensure this post stays live and active to help others.
Title: Qmail Queue Stuck: How to Clean Qmail Queue Fast
Keywords: Qmail Queue Stuck, Clean Qmail Queue, Qmail Delete Queue
This post says: Well, first of all, I’ve made a mistake. I’m afraid I rebuilt qmail binaries to implement the mail tap patch, without letting qmail-send stop completely. That caused that about 300 messages are stuck in the queue and didn’t come out neither with qmailctl flush, python queue-repair -r or qmqtool -r. I don’t know what to do, PLEASE HELP ME!!!
QMail incoming mail stuck in queue: This is qmailctl output:
# qmailctl stat
/service/qmail-send: up (pid 49840) 1027 seconds
/service/qmail-send/log: up (pid 49841) 1027 seconds
/service/qmail-smtpd: up (pid 49844) 1027 seconds
/service/qmail-smtpd/log: up (pid 49845) 1027 seconds
/service/qmail-pop3d: up (pid 49850) 1027 seconds
/service/qmail-pop3d/log: up (pid 49852) 1027 seconds
messages in queue: 176
messages in queue but not yet preprocessed: 146
I checked my qmail server today, turns out there are 744 messages stuck in the queue that haven’t been delivered. I’ve tried using qmHandle -a to deliver all of them, but that doesn’t help. I’ve tested an email script that sends out a test email message, and the email is being delivered – with a bit of delay. What about the other emails that are in the queue? I’ve done some extensive reading and I’m still unsure how I can get these messages in the queue to be delivered.
Can anyone help/
Total messages: 744
Messages with local recipients: 0
Messages with remote recipients: 540
Messages with bounces: 0
Messages in preprocess: 0
How to Clear / Clean Qmail Queue Completely, Safely & Fast?
Here is a quick and easy way to clear all email from the queue.
This will not remove anything it should not remove. The script just clears all email from the queue safely and this is ONLY for qmail.
( Note: This is not for use with any other email programs )
Qmail Queue Stuck: How to Clean Qmail Queue Fast CLICK HERE FOR THE UPDATED VERSION!
Clear / clean / empty the qmail queue
1) login to your server via ssh
2) su –
3) wget http://www.japanitup.com/scripts/qmailclear.sh
5) sh qmailclear.sh or sh ./qmailclear.sh
6) done.
For those that receive oversized file truncting errors.
Use the following more intense script. It take a little
longer but gets the job done.
1) login to your server via ssh
2) su –
3) wget http://www.japanitup.com/scripts/qmailclean.sh
5) sh qmailclean.sh or sh ./qmailclean.sh
6) done.
How to empty the qmail queue? To clear *all* messages from the queue, shut down qmail, then:
cd /var/qmail/queue
find intd todo local remote mess info bounce -type f -print |xargs rm
Start qmail back up, and the queue should be empty.
How to empty qmail queue: how to clean Qmail queue? I rebuilt qmail binaries to implement the mail tap patch, without letting qmail-send stop completely. I hope this has helped others out! Any different idea?
Related Articles
Topics: Clean Qmail Queue,Plesk Dedicated Server,Qmail Configuration File,Qmail Delete Queue,Qmail Queue Stuck,Qmail Vs Postfix Vs Sendmail
- Plesk automatically renewed with dedicated server renewal
- Error code: sec_error_ca_cert_invalid Cannot login to Plesk with Firefox
- Adding IP addresses on server using Plesk Control Panel
- Force Qmail Process Queue: How to make qmail process outbound queue
- Cannot access websites for qmail process queue upon server upgrade downgrade
- cPanel Dedicated Server Hosting and Plesk Dedicated Hosting Packages
- Qmail Queue Growing Flush: How to speed up process of sending mail
- Plesk Dedicated Server Hosting on Linux Dedicated Servers or Windows Servers
- Plesk Dedicated Servers Tutorial: How to Setup PLESK Dedicated Server
- School Girl Challenges Japanese AV Star Sora Aoi with Sexy Appearance in Commercial