Tellpop Statistics Command:
-----------------------------

NB: for up to date information see, http://www.netwinsite.com/dmail/tellpop.htm#statistics

NB: Requires that the DSMTP setting, oneline_stats is set 
to true in dmail.conf to create the dmDDMM.log files used.

Produces usage statistics from the log files. For each domain or user the number
of messages sent, received, transfered or failed are displayed plus the
respective total number of bytes associated with these messages. For each value
the peak and average values are given and the time band in which the peak value
occured. 

Usage:
tellpop statistics [-U|D][-R|-S][-Dn][-Pn][-An][-sortby] timeframe

-d   Calculates statistics by domain name

-u   Calculates statistics by user name

-s   Calculates statistics by sender or senders domain

-r   Calculates statistics by receiver or receivers domain

-dn  Specifies the top n number of domains or users to display. 
     -dall will display all users or domains
     -d0 will display none(this option requires significantly less system
         resources)

-pn  Set size of the peak window(n) in seconds

-an  Set size of dominator(n) used to calculate averages (in seconds)

-sortby Indicates statistic by which domains or users are to be compared. 
        Options: recv|sent|delv|fail|brecv|bsent|bdelv|bfail

timeframe Period over which analysis will be preformed.
          Options: [MM/dd] [hh.mm.ss] to [MM/dd] [hh.mm.ss]
                   hour          the last hour 
                   day           the last day
                   week          the last week
                   month         the last month
                   so_far_today  statistics since midnight

Examples: tellpop statistics 1/15 to 1/20
          Analyse period from the start of the 15th Jan to the end of
          19th Jan 

          tellpop statistics -d100 -u hour
          Displays the 100 users who logged the most sends in the last hour

          tellpop statistics -p3600 -a1800 month
          Analyse last month giving the peak hour(3600s) of usage for each
          given statistic. All averages will be quoted per half hour(1800s).

Defaults: tellpop statistics -d -s -d10 -p600 -a600 -sent so_far_today