700000 Mail Queues how delete all ?

abadahenno

Member
Mar 30, 2013
9
0
51
cPanel Access Level
Root Administrator
Hello

when run [~]# exim -bpc

700000

how delete them all ?

and how can i stop them to non increased

i tried [~]# exiqgrep -i | xargs exim -Mrm

because wh en i re run [~]# exim -bpc give me 700100 !!

i suspended the account who make this spam but it not stop for increase of queue !

please help me what i can do ?
 

Datacenter1

Member
Feb 11, 2006
9
4
153
Chicago
cPanel Access Level
DataCenter Provider
Hello

when run [~]# exim -bpc

700000

how delete them all ?

and how can i stop them to non increased

i tried [~]# exiqgrep -i | xargs exim -Mrm

because wh en i re run [~]# exim -bpc give me 700100 !!

i suspended the account who make this spam but it not stop for increase of queue !

please help me what i can do ?
You can do something like
Code:
service exim stop
find /var/spool/exim/input -maxdepth 2 -type f -delete  
service exim start
It will delete all outgoing emails in the queue
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Hello :)

You can also use the "Delete All" option in:

"WHM Home » Email » Mail Queue Manager"

Keep in mind this will delete all email in the queue, including legitimate emails that may exist.

Thank you.
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
27
143
Houston, TX
cPanel Access Level
Root Administrator
You can do something like
Code:
service exim stop
find /var/spool/exim/input -maxdepth 2 -type f -delete  
service exim start
It will delete all outgoing emails in the queue
It is best to not delete any Exim queue files directly. It is possible to damage Exim enough that it will not restart. Instead, use the tools Exim provides to manage the queue. The Exim cheatsheet is very helpful for this:

Exim Cheatsheet