On Sat, Jul 08, 2006 at 08:13:28PM +0000, Pollywog wrote:
I am seeing this error in my Procmail log:
/bin/bash: line 1: ^To:: command not found
The recipe that seems to be causing this is:
# Discard if From: is same as To:
SENTBY=`formail -z -x"From:"`
:0
* ! ^To: pollywog
* ? ^To: .*$SENTBY
$TRASH
What is wrong with that recipe?
The question mark in the second condition invokes a
test piped to the program next named. There is
no program "^To:" on your system. :-)
You meant the question mark to be a dollar sign.
Dallman
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail