procmail
[Top] [All Lists]

Totalling the numbers from mailstat

2000-08-24 10:11:46
In an effort not to re-invent the "wheel," and before 
I start writing a perl script for this, does anyone have
a script that takes the output of mailstat and,

1. If there has been filtered email, sums the emails and displays
   the total below the subtotals.

2. Sums the bytes, then does the same kind of display as above.

Something like this:

  Total  Number Folder
  -----  ------ ------
   2677       1 In-L-xyz
   4984       1 SlimPickins
--------------------------------
   7661       2 Totals


If anyone has done this, or something similar, would you mind sharing?

If not, I'll write something and post to the list.

Thanks,

deb

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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