<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi Michael,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Sorry for the delay, got distracted by something shiny. :-)</DIV><DIV><BR><DIV><DIV>On 02/04/2007, at 4:23 pm, Michael Mansour wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida Grande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">Could you explain what you did? did you just continue to use Mailgraph? and if so, what did you need to change to get the stats you wanted for mailscanner/sendmail?<BR></SPAN></BLOCKQUOTE></DIV><BR></DIV><DIV>Yes, continued to use Mailgraph but went through and adjusted the regexes of strings it was looking for. I have smf-sav installed (sorry Rick, it's got a really big cache, and I'm definitely taking what you said on board, honest :-) so some log entries are different from usual.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>What I found really helpful was grabbing the logs of a non-production MailScanner box that included single (artificial) instances of each case, then trying various grep strings against that log to pick up only the actions I was looking for, e.g. good mail site-in, good mail site-out, bounces, rejects etc. Then I plugged those into the perl script with the appropriate counter words. I've still some fine-tuning to do like getting send and receive (from a site context) properly nailed down, but it's a finite problem. If you like I can send you a copy of the file as it stands offlist.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>cheers,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Paul.</DIV></BODY></HTML>