Can anybody tell me how to get Procmail to strip header data,
mime info etc. out of a message befor it saves it to a file ? I have
a recipe which saves messages to a file with a timestamp then passes
control
to a cgi script as follows, but the file /prospur/AOG/ymdHMS should only
contain the
subject and message text, not headers etc. Any ideas ?
:0 c
*^(To|cc):.*AOG@(radiosydney\.com)
{
:0 c
prospur/AOG/`date +%y%m%d%H%M%S`
:0:
| perl -s ./cgi-local/procmail.cgi -filename="prospur/AOG/`date
+%y%m%d%H%M%S`"
}
Many Thanks
Rod Butcher