procmail
[Top] [All Lists]

Re: Ideas for keeping statistics of incoming mail?

1997-11-09 07:17:40
| Sat 97-11-08 Michael Stone <mstone(_at_)itri(_dot_)loyola(_dot_)edu> 
list.procmail
| 
| If you're already sorting your incoming mail to different boxes and
| keeping a log (the LOGFILE specified in your procmailrc), try 
|   mailstat -k logname
| 
| Rotate the logfile daily and run mailstat, and you've got a daily log...

This is good! I only have to filter out invalid entries that the 
mailstat -k displays:

jari

  Total  Number Folder
  -----  ------ ------
      0     518  ## 
      0       8  ##             >> $JA_SRV_LOG;"
      0      86  ##       -e 's/.*http.*www.netforward.com//g'                  
                \
      0      86  ##       -e 's/.*v^v^v^v.*//g'"
      0       1  ##      Report)"
      0       1  ##  
<MPG(_dot_)ebae228d48ca21911e1a306(_at_)mailhub(_dot_)ebi(_dot_)ac(_dot_)uk>"
      0     248  ## "
      0      12  ## /bin/sh: Formail:  not found.
      0       1  ## :   Folder: /users/jaalto/Mail/spool/list.procmail.spool\t\t
\t   2746
[couple of hundread similar lines]
...
      0       1  ## procmail: [9834] Fri Nov  7 18:15:02 1997
 209498      10 /users/jaalto/Mail/spool/junk.daemon.spool
  86370      13 /users/jaalto/Mail/spool/junk.dupli.spool
   9995       1 /users/jaalto/Mail/spool/junk.null.spool
 761718      71 /users/jaalto/Mail/spool/junk.orig.spool
  21687       5 /users/jaalto/Mail/spool/junk.ube.spool
    898       1 /users/jaalto/Mail/spool/junk.url.spool
  37476      13 /users/jaalto/Mail/spool/list.ding.spool
...

<Prev in Thread] Current Thread [Next in Thread>