Big Pending Queue (668640 emails)
Big Pending Queue (668640 emails)
How i can delete this manually? from the shell, looks like ConfigServer Mail Queues cant do it,
I assume you are referring to the MailScanner pending queue as opposed to the exim delivery queue.
You won't be able to manually process the queue as long as MailScanner is enabled, and trying to delete that many mails from the queue using ConfigServer Mail Queues would take quite a while.
Here is a method to manually delete the mailscanner pending queue. Use at your own risk.
You won't be able to manually process the queue as long as MailScanner is enabled, and trying to delete that many mails from the queue using ConfigServer Mail Queues would take quite a while.
Here is a method to manually delete the mailscanner pending queue. Use at your own risk.
Code: Select all
service chkservd stop
service MailScanner stop exim stop
cd /var/spool/exim_incoming/input/
rm -Rfv /var/spool/exim_incoming/input/*
cd /var/spool/exim_incoming/msglog
rm -Rfv /var/spool/exim_incoming/msglog/*
service exim start
service MailScanner start
service chkservd start
/usr/mscpanel/mscheck.pl
/usr/mscpanel/msswitch.pl inout
Re: Big Pending Queue (668640 emails)
Hi, I have the same exact problem, except with more like 34,000 messages.
I tried the instructions and they did not work, seemed to delete just a fraction of what I needed.
Is the pending queue located in a different directory these days?
Thanks much.
I tried the instructions and they did not work, seemed to delete just a fraction of what I needed.
Is the pending queue located in a different directory these days?
Thanks much.
Re: Big Pending Queue (668640 emails)
No, the queue files for emails yet to be processed by MailScanner are still located in /var/spool/exim_incoming/input/.
Re: Big Pending Queue (668640 emails)
I'm sorry, it is the "Delivery Queue" I am referring to.
As you look at the ConfigServer Mail Queues window, it is the top-most stat that currently says:
Delivery Queue (32867 emails)
How can I remove these 32k+ messages via the shell?
As you look at the ConfigServer Mail Queues window, it is the top-most stat that currently says:
Delivery Queue (32867 emails)
How can I remove these 32k+ messages via the shell?
Re: Big Pending Queue (668640 emails)
Anything? Should I start a new thread about this one?
Thanks much.
Thanks much.
Re: Big Pending Queue (668640 emails)
Nevermind, I just used the regular WHM Mail queue manager tool, and deleted the whole mess that way.
Thanks.
Thanks.
Re:
Hello Sara, this steps are still the same in 2023 with MailScanner - v5.4.4 / ConfigServer MailScanner Script - v5.06 / CPanel 112.0.3 ?Sarah wrote: ↑12 Nov 2008, 15:40 I assume you are referring to the MailScanner pending queue as opposed to the exim delivery queue.
You won't be able to manually process the queue as long as MailScanner is enabled, and trying to delete that many mails from the queue using ConfigServer Mail Queues would take quite a while.
Here is a method to manually delete the mailscanner pending queue. Use at your own risk.
Code: Select all
service chkservd stop service MailScanner stop exim stop cd /var/spool/exim_incoming/input/ rm -Rfv /var/spool/exim_incoming/input/* cd /var/spool/exim_incoming/msglog rm -Rfv /var/spool/exim_incoming/msglog/* service exim start service MailScanner start service chkservd start /usr/mscpanel/mscheck.pl /usr/mscpanel/msswitch.pl inout
Re: Big Pending Queue (668640 emails)
Not quite. The below might work, but if there are a very large number of emails in the queue it will still take a very long time.
A quicker way would be to rename the entire /var/spool/exim_incoming directory out of the way and then recreate it, but I hesitate to advise doing that until I can check with my partner about the best way to do it.
Regards,
Sarah
Code: Select all
killall tailwatchd crond
service exim stop
service MailScanner stop
cd /var/spool/exim_incoming/input/
rm -Rfv /var/spool/exim_incoming/input/*
service exim start
service crond start
/scripts/restartsrv_tailwatchd
service MailScanner start
/usr/mscpanel/mscheck.pl
Regards,
Sarah