/* -*-C-*- $Id: arffilter.c,v 1.1.1.1 2006/03/03 20:16:11 steve Exp $ arffilter.c Distribution site: http://arf.word-to-the-wise.com/arffilter/ Author: Steve Atkins arffilter is a unix filter to rewrite ARF complaints into a format that is more useful in an MUA or simple ticketing system. It annotates the subject line using metadata from the ARF message/feedback-report object. It's very lightweight, not doing any MIME extraction, simply assuming that the metadata is in the first message/feedback-report attachment. To compile: cc -o arffilter arffilter.c To use it with procmail, add a rule such as the following, before other processing is done: # ARF rewrite script :0fw | /path/to/arffilter It accepts four commandline parameters: -h Show usage -V Show version -l Look for message/feedback-report only in this number of lines from the start of the message (default 200) -s