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!

Email Queue Manager

Discussion in 'E-mail Discussion' started by crazyaboutlinux, Mar 13, 2009.

  1. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    939
    Likes Received:
    0
    Trophy Points:
    66
    HI Guy's,

    i would like to know below are things from SSH (putty)

    1. how many emails are there in email queue ?
    2. how can i Attempt to Deliver all messages in Queue ?
    3. how to empty email queue ?

    Thanks in Advance

    Nilesh
     
  2. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    459
    Likes Received:
    6
    Trophy Points:
    68
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    exim -bpc

    exim -qff

    http://bradthemad.org/tech/notes/exim_cheatsheet.php
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    939
    Likes Received:
    0
    Trophy Points:
    66
  4. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    Europe
    This is what i use:

    /usr/sbin/exiqgrep -i -o XXXXXX | xargs /usr/sbin/exim -Mrm

    where XXXXXX is seconds old (for example delete emails older than 5 days in the queue)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    939
    Likes Received:
    0
    Trophy Points:
    66
    i want to complete empty mail queue

    how can i ??
     
  6. Amit Deshmukh

    Amit Deshmukh Well-Known Member

    Joined:
    Jul 1, 2007
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    56
  7. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    459
    Likes Received:
    6
    Trophy Points:
    68
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    exiqgrep -i | xargs /usr/sbin/exim -Mrm

    I believe this will do it for you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Sean.barron

    Sean.barron Active Member

    Joined:
    Aug 16, 2008
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    56
    You can easily flush your exim server,

    First login to your server through SSh as a root and run the below command:
    type: exim -qff
     
  9. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    939
    Likes Received:
    0
    Trophy Points:
    66
    Hi Amit,

    I refered the URL below & it is very nice.

    Thanks for that

    let me know one thing are you indian ?

     
  10. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    939
    Likes Received:
    0
    Trophy Points:
    66
    so what to be written instead of XXXXXX
     
  11. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    939
    Likes Received:
    0
    Trophy Points:
    66
    i have run exim -qff from SSH then i got below error let me know what to do

    root@web [~]# exim -qff
    sda7: write failed, user block limit reached.
    sda7: write failed, user block limit reached.
     
  12. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    939
    Likes Received:
    0
    Trophy Points:
    66
    Hi howard

    This command is working fine for me

    please tell what is this command exim -qff it is also given by you

    i am getting error when run it i already posted it
     
  13. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    459
    Likes Received:
    6
    Trophy Points:
    68
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    exim -qff attempts a forceful delivery of emails in the queue. It may take a while to complete. Same can be done from "WHM >> Email >> Mail Queue Manager >> Attempt to Deliver all messages in Queue".
    Regarding the error, check if you are hitting any user limits if this is a VPS server.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    939
    Likes Received:
    0
    Trophy Points:
    66
    Hi Howard,

    Thanks for explain this.

    i know this thing Email >> Mail Queue Manager >> Attempt to Deliver all messages in Queue".

    this is not a VPS server

    It is

    cPanel 11.24.4-S35075
    WHM 11.24.2 - X 3.9
    CENTOS 4.7 i686 standard
     
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