On Mon, 25 Oct 1999, David Gikandi wrote:
So, right now what I do is in the responce file sent
out with the cat command there is a string that I ask
them to include anywhere in their email to avoid
getting that same answer again. I also have this rule
at the top to watch out for emails that have been
responded to 3 times already:
:0
* ^Subject:.*re: +re: +re:
$DEFAULT
Why not count the number of times they emailed?
FROM=`$FORMAIL -zrx To:`
N="
"
NUM=`grep -c $FROM sentresponce`
:0fwh
* $ $NUM^0
* -3^0
| formail -I"X-Sent: three times"
:0
* your conditions
* ! X-Sent: three times
{
OLDLOG=$LOGFILE
LOGFILE=sentresponce
LOG="$FROM$N"
LOGFILE=$OLDLOG
Your fileserver
}
And clean up sentresponce on a regular basis.