The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

700000 Mail Queues how delete all ?

Discussion in 'E-mail Discussions' started by abadahenno, Nov 28, 2013.

  1. abadahenno

    abadahenno Member

    Joined:
    Mar 30, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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 ?
     
  2. Datacenter1

    Datacenter1 Registered

    Joined:
    Feb 11, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  4. HSN-Saman

    HSN-Saman Member

    Joined:
    Jan 11, 2013
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    ConfigServer Mail Queue (CMQ) is also a good tool to manage mail queues in cPanel with a great simple GUI.

    ConfigServer Mail Queues
     
    #4 HSN-Saman, Dec 4, 2013
    Last edited: Dec 4, 2013
  5. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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
     
Loading...

Share This Page