Most of what you want is in the logs, just not bucketed for real-time
querying.
> total incoming messages/(unit time)
<timestamp> INFO smtpserver: Successfully spooled mail from <SENDER> for
[<RECIPIENTS>]
> total incoming connections/(unit time)
<timestamp> INFO smtpserver: Connection from <domain> (<IP-Address>)
> total incoming bytes/(unit time)
This we don't do at the moment.
> total outgoing ... (the same three as above)
Two of the three are already in RemoteDelivery. Only size is missing.
> total volume of mail held in local mailboxes
See the AbstractStorageQuotaMatcher code for how to do that. One could add
a command to the remote manager to also return the figure for a mailbox.
> total volume of mail held in local spools
Same as above, since spools are currently mailboxes. That will change with
v3.
> ip addresses generating most of the traffic/(recent unit of time)
Could be inferred from the logs if we logged size.
> ip addresses generating most of the connections/(recent unit of time)
Already in the logs.
> local addresses receiving large quantities of mail
Could be inferred from the logs if we logged size.
> local addresses sending large quantities of mail
Same as above.
Again, most of this is already in the logs, except for size. What isn't
present is a real-time statistics system, such as I laid out earlier, which
you could view similarly to the /proc interface.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]