At 02:30 PM 12/18/98 -0700, you wrote:
[snip]
What is wrong with the recipe below? does the @ in the
X-Loop section need to be escaped because it is a special
character?
No, but the "." is a procmail extended regular expression token; you should
escape it with a backslash like so (in the seventh line of your recipe):
* !^X-Loop: 01006(_at_)mot\(_dot_)com
[snip]
# Auto reply testing for forged spam issue 12/18/98 CFS
:0BHD #grep body and headers, D means case sensitivety
* .*(INTERNATIONAL DRIVER\'S LICENSE|UNIVERSITY DEGREE PROGRAMS).*$
{
:0hc
* !^FROM_DAEMON
* !^X-Loop: 010006(_at_)mot(_dot_)com
| (formail -rt -A "X-Loop: 010006(_at_)mot(_dot_)com" \
-I "Precedence: junk" ; \
cat $MAILDIR/forgeresponse.txt ) | $SENDMAIL $SENDMAILFLAGS -t
:0:
postmaster-spam-complaint
}