This is my rewrite:
* !? egrep -is -f /home/user/goodhtml.txt
* ^Content-(Transer-Encoding: base64|type:
SPAMMER=`formail -rzx "To:"`
SUB=`formail -zx "Subject:"`
TRAP= 'echo '`date`': HTML message from '$SPAMMER' with subject '$SUB'
filed in SPAM. '$SPAMMER' was added to the spammer list. >>delete.log
echo '$SPAMMER' >>spammerlist'
It's working, but I would like to put quotes around $SUB. Any thoughts?
I had to take out the parentheses I was using, as they were generating shell
In your suggested:
where the characters within  above are <space><tab>.
did you mean that <space> and <tab> are within *both* sets of  ? Or did you
mean <space> within the first and <tab> within the second?
Again, my sincere thanks.
procmail mailing list