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.

Deliver all mails from queue?

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

  1. zoltanb

    zoltanb Member

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

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. zoltanb

    zoltanb Member

    Joined:
    Jun 13, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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 Forums Analyst
    Staff Member

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

    STS Admin Well-Known Member

    Joined:
    Jul 8, 2012
    Messages:
    47
    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.
     
Loading...

Share This Page