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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    122
    Likes Received:
    15
    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
     
  3. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    921
    Likes Received:
    65
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
Loading...

Share This Page