<div dir="ltr">Thank you for the script suggestions.  I'll give those a shot!<div><br></div><div>Jeff</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 1, 2015 at 11:30 PM, Gustavo Silva <span dir="ltr"><<a href="mailto:beatwiz@gmail.com" target="_blank">beatwiz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Maybe I digressed a bit on my last email, I do that a lot, so please forgive me for the excessive non-related info, that wil probably kill your server and then make me feel bad! :D<div><br></div><div>Staying on topic, log checking is great and even if you cant get stuff to show up on the gui, you can at the very least to work shellscripts that can be added to cron who will send you an alert when certain treshesholds were hit, or lets say a daily statistic.</div><div><br></div><div>Hope this helps!</div><div>Gustavo</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2015-04-02 7:24 GMT+01:00 Gustavo Silva <span dir="ltr"><<a href="mailto:beatwiz@gmail.com" target="_blank">beatwiz@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yeah I used to run a bunch of shellscript that actually walk through the logs and shows the count of incoming/outgoing mail for distinct emails. <div><br></div><div>As an example, this one uses ctladdr to check who sent how many emails in the last 9999 log lines<br><div><br></div><div>tail -9999 /var/log/maillog | grep "ctladdr" | awk -F',' '{ print $2 }' | awk '{ print $1 }' | grep ctladdr | sort | uniq -c <br></div><div><br></div><div>Anyway in my personal experience i find it best to limit the email rates sendmail milter level and only allow a certain emails to get in/out per hour because when an account gets spammed most of the time its overnight, you only realize it in the morning when your IP address is already on all spam lists and 300 people calling at the same time.<br></div><div><br></div><div>So IMHO its best to enforce some strict guerilla tactics if you're dealing with spammy customers like lowering the number of CC/BCC addresses at sendmail level and implement some milter-limit.</div><div><br></div><div>^^^^^^^ This is bound to break things if not done properly and might not survive a version update! Im just sharing my experience and a different view on things :D</div><div><br></div><div>Good luck!</div><div><br></div><div><br></div></div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2015-04-02 6:47 GMT+01:00 Tigerwolf <span dir="ltr"><<a href="mailto:tigerwolf@tigerden.com" target="_blank">tigerwolf@tigerden.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Wed, 1 Apr 2015, Jeff Keller wrote:<br>
<br>
> Is there no way to get "top senders" (either by user or domain) from the<br>
> GUI?<br>
<br>
</span>I don't know of anything off the shelf, but if you trust the sendmail logs<br>
to reflect who sends what, I'd think a script to parse the log by sender,<br>
then count the results along the general idea of:<br>
<br>
     For usernames in userlist<br>
       echo username<br>
       grep -c "from=username" /var/log/maillog<br>
<br>
If you want to see it from a browser, then just make an html template page<br>
and have the script stuff it's output into the template.<br>
<div><div><br>
_______________________________________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@mail.blueonyx.it" target="_blank">Blueonyx@mail.blueonyx.it</a><br>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr">Um abraço,<br>Gustavo</div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr">Um abraço,<br>Gustavo</div></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><br>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><br>
<br></blockquote></div><br></div>