procmail
[Top] [All Lists]

Re: Screening Logs

1997-06-06 07:24:00
On Fri, 6 Jun 1997 13:15:31 +0000 (GMT),
"Matthew G. Saroff" <msaroff(_at_)pca(_dot_)net> wrote:
  Total  Number Folder
  -----  ------ ------
   2795       1  $FORMAIL -A"X-SpamBouncer: Spam" >>$SPAMFOLDER
  44311      19 /home/msaroff/incoming/Procmail
  11079       4 /home/msaroff/incoming/TPC
   1686       1 AGIS

     As I stated before, I'd like to make a log for a month so I can 
send (maybe fax) totals to my congressman.
     I'd like to generate a report like:

Size        Number        Source
===========================================
150000      250           Normal mail      
1573221     875           Spam

for the month.
     Does anyone know a perl or a shell script that can do this?

Just make your own modified version of mailstat, that's what it's for.

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

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