More details in the logs
Pete
pete at eatathome.com.au
Mon Mar 1 20:48:55 GMT 2004
David Hooton wrote:
>>-----Original Message-----
>>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>>Behalf Of Patrik Bäckström
>>Sent: Monday, 1 March 2004 11:31 PM
>>To: MAILSCANNER at JISCMAIL.AC.UK
>>Subject: More details in the logs
>>
>>
>>
>
><snip>
>
>
>
>>We use MailScanner for several customers/domains (currently version 4.25-
>>14)
>>and we would like to gather statistics per customer on how many mails
>>scanned (that i can get from postfix), how many rejected and why and so
>>on.
>>
>>Currently, it only tells us that something has been blocked and why, but
>>not
>>from or, more importat, to who the mail was sent.
>>
>>
>
>http://mailwatch.sf.net/
>
>Will allow you to setup per domain/user etc etc stats for users, very useful
>tool indeed.
>
>Dave
>
>
>========================================================================
> Pain free spam & virus protection by: www.mailsecurity.net.au
> Forward undetected SPAM to: spam at mailsecurity.net.au
>========================================================================
>
>
>
>
>
If you want a text only version you could get and run the pflogsum.pl
script from sourceforge too - simple perl script that greps the maillog
and produces a nice report each night and emails it to me..
sample..
Postfix log summaries for Feb 26
Grand Totals
------------
messages
223 received
113 delivered
0 forwarded
187 deferred (190 deferrals)
0 bounced
17 rejected (13%)
0 reject warnings
0 held
0 discarded (0%)
4389k bytes received
3657k bytes delivered
156 senders
132 sending hosts/domains
74 recipients
3 recipient hosts/domains
Per-Hour Traffic Summary
time received delivered deferred bounced rejected
--------------------------------------------------------------------
0000-0100 5 0 5 0 0
0100-0200 4 0 3 0 1
0200-0300 5 1 5 0 0
0300-0400 2 1 0 0 0
0400-0500 5 4 2 0 0
0500-0600 2 0 2 0 0
0600-0700 3 0 2 0 1
<snip>
Host/Domain Summary: Message Delivery
sent cnt bytes defers avg dly max dly host/domain
-------- ------- ------- ------- ------- -----------
102 3539k 181 5.5 m 21.2 m primary.com.au
8 116487 9 7.6 m 16.4 m students.primary.com.au
3 3614 0 0.3 s 1.0 s mail02.primary.com.au
Host/Domain Summary: Messages Received
msg cnt bytes host/domain
-------- ------- -----------
9 417475 enewsletters.f2network.com.au
9 205721 yahoo.com.au
7 43904 yahoo.com
4 537k mannatech.com.au
4 123015 national.com.au
4 32121 sesahs.nsw.gov.au
4 29103 mail02.primary.com.au
4 13800 lyris.isworld.org
<snip>
More information about the MailScanner
mailing list