On Sun, 02 Aug 2009 17:04:17 -0400, Jon <jo...@iotk.net> wrote: > Clunk Werclick wrote: >> >> ************************ >> PRE DNSBL 321 >> ........................ >> NO PTR 201 >> SPOOFING 120 >> RELAY ATTEMPTS 0 >> BLOCKED OTHER 0 >> WHITELISTED 4 >> ************************ >> BLOCKED DNSBL 287 >> ........................ >> > > What tools are you using to generate your counts and get your output > presented this way?
The logwatch package can do something similar. See example below. I stripped out some sections with sensitive information but you get the idea. --------------------- Postfix Begin (detail=5) ------------------------ ****** Summary ************************************************************************************* 28.893M Bytes accepted 30,296,112 4.471M Bytes sent via SMTP 4,687,715 25.310M Bytes delivered 26,538,982 ======== ================================================ 370 Accepted 1.79% 20326 Rejected 98.21% -------- ------------------------------------------------ 20696 Total 100.00% ======== ================================================ 124 5xx Reject relay denied 0.61% 5423 5xx Reject HELO/EHLO 26.68% 154 5xx Reject unknown user 0.76% 14625 5xx Reject RBL 71.95% -------- ------------------------------------------------ 20326 Total 5xx Rejects 100.00% ======== ================================================ 20 4xx Reject HELO/EHLO 2.11% 2 4xx Reject unknown user 0.21% 102 4xx Reject recipient address 10.75% 648 4xx Reject sender address 68.28% 158 4xx Reject unknown reverse client host 16.65% 19 4xx Reject RBL 2.00% -------- ------------------------------------------------ 949 Total 4xx Rejects 100.00% ======== ================================================ 14952 Connections made 5149 Connections lost (inbound) 14947 Disconnections 368 Removed from queue 334 Delivered 127 Sent via SMTP 10 Resent 2 Deferred 2 Deferrals 2 Bounced (remote) 2 Notifications sent 45 Timeout (inbound) 23 Illegal address syntax in SMTP command 56 Numeric hostname 7 SMTP dialog error 106 Excessive errors in SMTP dialog 3071 Hostname verification errors 1 Hostname validation errors ****** Detail ************************************************************************************** 124 5xx Reject relay denied ----------------------------------------------------------------- 20 81.192.186.79 adsl-79-186-192-81.adsl.iam.net.ma 20 85.181.161.97 e181161097.adsl.alicedsl.de 20 95.110.96.169 g95-110-96-169.broadband.bashtel.ru 20 190.48.158.110 unknown 20 201.80.36.14 unknown 20 202.142.223.169 unknown 2 83.36.234.113 113.red-83-36-234.dynamicip.rima-tde.net 2 90.176.249.58 58.249.broadband9.iol.cz 5423 5xx Reject HELO/EHLO -------------------------------------------------------------------- 5423 Need fully-qualified hostname 154 5xx Reject unknown user ----------------------------------------------------------------- 154 Virtual mailbox table 14625 5xx Reject RBL -------------------------------------------------------------------------- 7959 bl.spamcop.net 6666 zen.spamhaus.org 20 4xx Reject HELO/EHLO -------------------------------------------------------------------- 20 Need fully-qualified hostname 2 4xx Reject unknown user ----------------------------------------------------------------- 2 Virtual mailbox table 102 4xx Reject recipient address ------------------------------------------------------------ 648 4xx Reject sender address --------------------------------------------------------------- 648 Domain not found 5149 Connections lost (inbound) -------------------------------------------------------------- 3274 After DATA 1532 After RCPT 261 After CONNECT 26 After MAIL 26 After QUIT 15 After HELO 12 After EHLO 2 After UNKNOWN 1 After RSET 2 Deferrals ------------------------------------------------------------------------------- 2 4.1.1: Transient failure: Addressing status: Bad destination mailbox address 2 Bounced (remote) ------------------------------------------------------------------------ 2 5.1.1: Permanent failure: Addressing status: Bad destination mailbox address 2 Notifications sent ---------------------------------------------------------------------- 2 Non-delivery 45 Timeout (inbound) ----------------------------------------------------------------------- 16 After CONNECT 8 After RCPT 7 After DATA 7 After MAIL 5 After EHLO 2 After HELO 23 Illegal address syntax in SMTP command -------------------------------------------------- 23 MAIL 56 Numeric hostname ------------------------------------------------------------------------ 44 Resource data of MX record 12 Hostname 7 SMTP dialog error ----------------------------------------------------------------------- 7 Non-SMTP command 106 Excessive errors in SMTP dialog --------------------------------------------------------- 81 After RCPT 25 After DATA 3071 Hostname verification errors ------------------------------------------------------------ 2851 No address associated with hostname 220 Address not listed for hostname 1 Hostname validation errors -------------------------------------------------------------- 1 misplaced delimiter: . ====================================================================================================================== Delays Percentiles 0% 25% 50% 75% 90% 95% 98% 100% ---------------------------------------------------------------------------------------------------------------------- 1: Pre qmgr 0.000 0.020 0.050 0.250 0.542 0.988 1.400 522.000 2: In qmgr 0.000 0.000 0.000 0.010 0.010 0.010 0.010 0.020 3: Connection setup 0.000 0.000 0.000 0.080 0.180 0.280 0.487 2.700 4: Xmit time 0.010 0.050 0.230 0.570 1.200 1.680 3.092 4.300 ====================================================================================================================== ---------------------- Postfix End ------------------------- -- Simple things make people happy. Willy De la Court PGP Public Key at http://www.linux-lovers.be/download/public_key.asc PGP Key fingerprint = 784E E18F 7F85 9C7C AC1A D5FB FE08 686C 37C7 A689