James Robertson <[EMAIL PROTECTED]> wrote:

> We use postfix as a relay and Antispam filter in front of an Exchange 
> Server.
>
> Management want to log the sender and recipient of emails both inbound and 
> outbound and the totals for a given period e.g. 24 hours and have it easily 
> viewable in a web browser etc.
>
> They don't require what the email contents just the levels so they can see 
> whether any employees are spending to much time emailing friends with 
> non-work related email etc.
>
> I have looked at pflogsum and awstats but it doesn't really provide the 
> details I'm looking for (unless I missed some of the config).
>
> I would need something like.
>
> Date        Sender            Recipent        email count
> 23/09/2008    [EMAIL PROTECTED]    [EMAIL PROTECTED]    20

Look into postfix-logwatch and then write your own script that uses that
and others as inspiration.  And next time please don't hi-jack an
unrelated thread. :-)

-- 
Sahil Tandon <[EMAIL PROTECTED]>

Reply via email to