scompfilter - an AOL automated report rewriter

Download version 1.1 here: scompfilter.c

Report any bugs or offer patches to the contact address in the source code.

scompfilter is a unix filter to rewrite scomp complaints from AOL into a format that is more useful in a typical abuse desk.

It replaces the opaque "Client TOS Notification" subject line with the original sender and original subject line taken from the body of the complaint.

It's very lightweight, not doing any MIME extraction, simply assuming that the complaint is in the first plain text message/rfc822 attachment. This is a valid assumption for current AOL complaints.

To compile:

      cc -o scompfilter scompfilter.c

To use it with procmail, add a rule such as the following, before other processing is done:

      #Scomp rewrite script
      :0fw
      * ^From:.*scomp@aol.net
      | /path/to/scompfilter