Jacques Beaudoin wrote:
> Hi,
> 
> Sometime I wish that I could gather some statistiques on
> how many users are on Pop3 or Imap.
> 
> In a future release of dbmail could 2 fields be added to the dbmail_user table
> 
> EX: pop3_timestamp and imap_timestamp

Business case? What do you want to track? There is a last_login field.

Or are you thinking about tracking the state of the process pool, like
apache's scoreboard?

i.e. like:

child_state             one of [IDLE,CONNECTED,RUNNING,WAITING, ... ]
child_command           the running POP3/IMAP/TIMSIEVED command
user_id                 login of connected user
user_bandwidth          accumulated data flow accounting per client_id
user_connected_since    start of current connection

this could then be translated into well structured logging aimed at (or
at least usuable as) accountability.

This data should IMO not end up in the database, or rather not in the
database as first choice of destination. Lets first create simple and
straightforward textfile logging, or syslog, or whatever.

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to