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!

Find accounts that have hit hourly emails limit?

Discussion in 'E-mail Discussion' started by webalfa, Apr 18, 2018.

  1. webalfa

    webalfa Registered

    Joined:
    Jul 16, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    How can find out which accounts hit maximum hourly emails limit?

    Best regards.
     
  2. HostingH

    HostingH Well-Known Member

    Joined:
    Jan 13, 2008
    Messages:
    123
    Likes Received:
    17
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    In csf enable following options

    # This option triggers for email sent via /usr/sbin/sendmail or /usr/sbin/exim
    RT_LOCALRELAY_ALERT = "1"
    RT_LOCALRELAY_LIMIT = "100"

    Or using cmd: awk '{ if ($0 ~ "cwd" && $0 ~ "home") {print $3} }' /var/log/exim_mainlog | sort | uniq -c | sort -nk 1
    Or cmd: cat /var/log/lfd.log | grep limit >> will all user/domains which are exceeding the limit
    or cmd: cat /var/log/exim_mainlog | grep hour | more
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,802
    Likes Received:
    133
    Trophy Points:
    118
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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