Ralph Freshour <rfresh(_at_)mail(_dot_)idt(_dot_)net> writes:
The following recipe doesn't work - can someone please help me out???
Thanks. And why do I need the "Precedence: junk" line?
--Ralph
:0
* ^TO(_dot_)*info(_at_)idt(_dot_)com
*!^FROM_DAEMON
*!^X-Loop: info(_at_)idt(_dot_)com
|(formail -r -A "Precedence: junk"\
-I"From: Auto Reply from PrimeMail " \
-ISubject: Information Requested" \
-A "X-Loop: info(_at_)idt(_dot_)com";\
cat /u2/home/rfresh/info.txt )|$SENDMAIL -t
Other people have pointed out the unbalanced quotes in the Subject part.
There's another bug in that there's no space before the backslash on the
first line of the action. This means that the first two lines will be
concatenated with nothing between them, ala:
|(formail -r -A "Precedence: junk"-I"From: Auto Reply from PrimeMail " ....
and thus the -I"From:..." bit will be interpreted as part of the Precedence:
header's value. Put a space before that first backslash, fix the quotes
and give it another shot.
Philip Guenther