procmail
[Top] [All Lists]

Problem with autoresponse

1999-04-23 14:44:53
When I run this recipie.....

SHELL=/bin/sh
PATH= /bin:/usr:/usr/bin:/usr/sbin:/usr/local/bin
SENDMAIL = /usr/sbin/sendmail
VERBOSE = ON
LOGFILE = $HOME/log.txt
FILEDIR = $HOME/files

:0ch
* ^To*
*!^FROM_DAEMON
*!^X-Loop: james1(_at_)testmail\(_dot_)m0\(_dot_)net
| (formail -r -A "Precedence: junk" \
  -I"From: james1(_at_)testmail\(_dot_)m0\(_dot_)net"\
  -I"Subject: Not home, sorry"\
  -A"X-Loop: james1(_at_)testmail\(_dot_)m0\(_dot_)net"\
echo "";\
cat $FILEDIR/auto.txt) | $SENDMAIL -t


I get this error in my log file.....


procmail: Assigning "FILEDIR=/usr/home/james1/files"
procmail: Match on "^To*"
procmail: Match on !
"(^(Precedence:.*(junk|bulk|list)|(((Resent-)?(From|Sender)|X-Envelope-From)
:|>?From 
)(.*[^((_dot_)%(_at_)a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|d
aemon|mmdf|root|n?uucp|smtp|response|LISTSERV|owner|request|bounce|serv(ices
?|er)|Admin(istrator)?)([^).!:a-z0-9].*)?$[^>]))"
procmail: Match on ! "^X-Loop: james1(_at_)testmail\(_dot_)m0\(_dot_)net"
procmail: Assigning "LASTFOLDER= (formail -r -A "Precedence: junk" \
  -I"From: james1(_at_)testmail\(_dot_)m0\(_dot_)net"\
  -I"Subject: Not home, sorry"\
  -A"X-Loop: james1(_at_)testmail\(_dot_)m0\(_dot_)net"\
echo "";\
cat $FILEDIR/auto.txt) | $SENDMAIL -t"
procmail: Executing " (formail -r -A "Precedence: junk" \
  -I"From: james1(_at_)testmail\(_dot_)m0\(_dot_)net"\
  -I"Subject: Not home, sorry"\
  -A"X-Loop: james1(_at_)testmail\(_dot_)m0\(_dot_)net"\
echo "";\
cat $FILEDIR/auto.txt) | $SENDMAIL -t"
procmail: Locking "/var/spool/mail/james1.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/james1"
procmail: Opening "/var/spool/mail/james1"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/james1.lock"
From james1  Fri Apr 23 13:23:58 1999
 Subject: Test
  Folder: /var/spool/mail/james1
404
procmail: Notified comsat: "james1(_at_)2071:/var/spool/mail/james1"
Usage: formail [-bczfrktqY] [-D nnn idcache] [-p prefix] [-l folder]
        [-xXaAiIuU field] [-R ofield nfield]
   Or: formail [+nnn] [-nnn] [-bczfrktnedqBY] [-D nnn idcache] [-p prefix]
        [-m nnn] [-l folder] [-xXaAiIuU field] [-R ofield nfield]
        -s [prg [arg ...]]



I think this has to do with my formail call, but I'm not sure.  Thanks in
advance for any help.

-James



<Prev in Thread] Current Thread [Next in Thread>