Re: counting incoming mail
Scott Lair wrote:
> Hello all,
>
> I am using Sarge with Exim4. I would like to get a count
> of the number of emails coming into the mail server.
> I would like to count emails that were not delivered also.
> In other words, I would like to count any attempts at
> sending an email to my host.
>
> Ideally, I could get the counts by hour, day,
> week, etc. Also, it would be great to get the information
> by user of course. Is there any way to do this?
I use custom scripts for this that are run by the SNMP server.
Cacti generates the graphs by polling the SNMP server every 5
minutes.
There are separate scripts for sent and received mail; as well as
scripts for spam and virus messages.
Hope this helps,
--
George Borisov
DXSolutions Ltd
Reply to: