|Tue 98-04-07 "Kevin H. Ingle" <kingle(_at_)cisco(_dot_)com> list.procmail
| ....how would I change the Subject: from the
| "current title" to "SPAM - current title"?
# record original subject
# This is faster than doing SUBJECT = `$FORMAIL -xSubject:`
:0
* ^Subject:\/.*
{
SUBJECT = $MATCH
}
SPAM # kill variable
..recipes that trigger spam...
..they should set SPAM to some value
# If variable SPAM has something in it, change subject
:0
* SPAM ?? [a-z]
| $FORMAIL -I "Subject: SPAM - $SUBJECT"
Right?
jari