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.

Email Queue Manager

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

  1. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    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:
    447
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    exim -bpc

    exim -qff

    http://bradthemad.org/tech/notes/exim_cheatsheet.php
     
  3. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
  4. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    18
    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)
     
  5. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    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:
    6
  7. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

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

    I believe this will do it for you.
     
  8. Sean.barron

    Sean.barron Active Member

    Joined:
    Aug 16, 2008
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    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:
    938
    Likes Received:
    0
    Trophy Points:
    16
    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:
    938
    Likes Received:
    0
    Trophy Points:
    16
    so what to be written instead of XXXXXX
     
  11. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    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:
    938
    Likes Received:
    0
    Trophy Points:
    16
    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:
    447
    Likes Received:
    4
    Trophy Points:
    18
    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.
     
  14. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    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