Find accounts that have hit hourly emails limit?

webalfa

Registered
Jul 16, 2011
1
0
51
Hello,

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

Best regards.
 

HostingH

Well-Known Member
Jan 13, 2008
125
17
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
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston