Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to empty the Queue?

Discussion in 'E-mail Discussion' started by Spetsnaz, Oct 11, 2012.

  1. Spetsnaz

    Spetsnaz Well-Known Member

    Joined:
    Jun 25, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Website Owner
    Well I have a lot of e-mails in queue and was wondering is there a command to delete all this?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. anupkumar

    anupkumar Member

    Joined:
    May 20, 2011
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Hello,

    You can use below commands to check the mail queue.
    exim -bpc
    exim -bp it will show list of mails in the queue.
    exiqgrep -z -i | xargs exim -Mrm
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 anupkumar, Oct 12, 2012
    Last edited by a moderator: Oct 12, 2012
  3. Spetsnaz

    Spetsnaz Well-Known Member

    Joined:
    Jun 25, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Website Owner
    If I do rm -rf input
    it will delete all am I right?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. pwhjenny

    pwhjenny Well-Known Member

    Joined:
    Aug 31, 2012
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    91
    cPanel Access Level:
    Root Administrator
    You should not delete whole input directory. Use following command to remove frozen mails from the queue.

    exiqgrep -z -i | xargs exim -Mrm
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Spetsnaz

    Spetsnaz Well-Known Member

    Joined:
    Jun 25, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Website Owner
    Thank you.
    That worked like a charm.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. pwhjenny

    pwhjenny Well-Known Member

    Joined:
    Aug 31, 2012
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    91
    cPanel Access Level:
    Root Administrator
    You are welcome :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice