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!

Deliver all mails from queue?

Discussion in 'E-mail Discussion' started by zoltanb, Jul 17, 2013.

  1. zoltanb

    zoltanb Member

    Joined:
    Jun 13, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    Is there a command line alternative from SSH to deliver all emails from the queue? Thank you.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Yes, you could use a command such as:

    Code:
    exim -qf
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. zoltanb

    zoltanb Member

    Joined:
    Jun 13, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    Thank you.
    And is there a way to limit the sending to only 100, 200 or 500 mails? So, deliver first 100 emails then stop.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    You could attempt delivery for messages older than a certain time. For example:

    Code:
    for i in `exiqgrep -i -o 86400`; do exim -M $i; done
    This will attempt delivery for all messages older than 86400 seconds (24 hours).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. STS Admin

    STS Admin Well-Known Member

    Joined:
    Jul 8, 2012
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    I don't think there is such an option. But you can limit the emails per hour per domain. WHM >> Tweak Settings >> "Max hourly emails per domain" under mail tab.
     
    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