Thanks, I have given that a try and it works well. I did, however, get an
unexpected token error from the shell becuase of the quotes (") around
$SPAMMER. I'm probably going to want to expand this recipe to include a quote
of the subject line, which I will put into the variable SUB. How can I have a
quote character echoed by the shell? I tried:
TRAP='echo Subject: \''$SUB'\' was deleted. >>delete.log'
but that generated an unexpected EOL error. Doesn't \ escape characters?...
Thank you again!
On Monday 29 December 2003 03:06 am, Gary Funck wrote:
#### ISP spam ####
TRAP='echo "$SPAMMER" >> spammerlist
echo "`date`: The ISP junk mail list hit again! ($SPAMMER)" >> delete.log'
(using a couple of David T's tips.)
procmail mailing list