---------- Forwarded message ----------
Date: Wed, 22 Nov 1995 18:20:04 -0500 (EST)
From: Thomas MacIsaac <pdginc(_at_)shore(_dot_)net>
To: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Subject: Stripping Question
If a set of conditions exist I would like to strip out the e-mail address
of a sender, delete the rest of the file and append a single file with
these addresses. So far, my attempt looks like this:
MAILDIR=$HOME/mail
TO=`/usr/local/bin/formail -x TO:
:0 H B
* .*stop
$MAILDIR/IN.stopsending
| echo $TO >> $MAILDIR/IN.stopsending/dontsend
:0 H B
* .quit
$MAILDIR/IN.stopsending
| echo $TO >> $MAILDIR/IN.stopsending/dontsend
Does anyone have any idea what I'm doing wrong? Thanks in advance.
Thomas