procmail
[Top] [All Lists]

Screening Logs

1997-06-06 07:01:00
Hi,
        I know that when I do a mailstat (every login), I get a response 
like this:

  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?
--
--Sfi Mordehai ben Yosef Yitzhak, Aka Matthew G. Saroff

This is not the Dream.  This is what I do on weekends to have
some fun.

The Dream involves 4 sets of identical twins, 2 gallons of Cool
Whip, 5 quarts of chocolate syrup, 2-1/4 pounds of strawberries,
satin sheets, a magnum of champagne, a trapeze, and a python.
Check http://www.pobox.com/~msaroff, including The Bad Hair Web Page
Quis custodiet ipsos custodes 
Contact me at:  msaroff(_at_)123456(_dot_)pobox(_dot_)com (remove the numbers 
to reply)

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