procmail
[Top] [All Lists]

Basic AutoResponder Problem

1996-08-21 12:25:51
I am trying to implement the most basic ( right off the manpage) 
autoresponder but it doesnt work . Here is the .promailrc and the maillog

LOGFILE=$HOME/.maillog 
VERBOSE=yes            
PATH=/usr/bin/:/bin/sh: /bin/tcshxx
MAILDIR=$HOME/mail      

:0 c
backup

:0 ic
| cd backup && rm -f dummy `ls -t msg.* | sed -e 1,32d`             

:0
* ^TOrobots
Robots

:0
* ^From.*damtoft
* ^Subject:.*Research
reading
 
:0 hc
* ! ^FROM_DAEMON
* ! ^X-Loop: assiddiq(_at_)coewl(_dot_)cen(_dot_)uiuc(_dot_)edu
| (formail -r -a "Precedence: junk" \
 -A"X-Loop: assiddiq(_at_)coewl(_dot_)cen(_dot_)uiuc(_dot_)edu" ; \
 echo "Mail received.") | $SENDMAIL -t 


-------------------------------------------------------

procmail: [31460] Wed Aug 21 14:13:45 1996
procmail: Assigning "PATH=/usr/bin/:/bin/sh:"
procmail: Skipped "/bin/tcshxx"
procmail: Assigning "MAILDIR=/homes/cehpx2b/stdt/assiddiq/mail"
procmail: Assigning "LASTFOLDER=backup"
procmail: Opening "backup"
procmail: [31460] Wed Aug 21 14:13:46 1996
procmail: Executing " cd backup && rm -f dummy `ls -t msg.* | sed -e 1,32d`     
        "
procmail: [31460] Wed Aug 21 14:13:46 1996
/bin/sh: /bin/tcshxx: cannot open
procmail: Assigning "LASTFOLDER= cd backup && rm -f dummy `ls -t msg.* | sed -e 
1,32d`             "
procmail: No match on 
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)robots"
procmail: No match on "^From.*damtoft"
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)?|daemon|mmdf|root|n?uucp|smtp|response|LISTSERV|owner|request|bounce|serv(ices?|er)|
Admin(istrator)?)([^).!:a-z0-9].*)?$[^>]))"
procmail: Match on ! "^X-Loop: 
assiddiq(_at_)coewl(_dot_)cen(_dot_)uiuc(_dot_)edu"
procmail: Executing " (formail -r -a "Precedence: junk" \
 -A"X-Loop: assiddiq(_at_)coewl(_dot_)cen(_dot_)uiuc(_dot_)edu" ; \
 echo "Mail received.") | $SENDMAIL -t "
procmail: Assigning "LASTFOLDER= (formail -r -a "Precedence: junk" \
 -A"X-Loop: assiddiq(_at_)coewl(_dot_)cen(_dot_)uiuc(_dot_)edu" ; \
 echo "Mail received.") | $SENDMAIL -t "
/bin/sh: /bin/tcshxx: cannot open
procmail: Locking "/usr/spool/mail/assiddiq.lock"
procmail: Assigning "LASTFOLDER=/usr/spool/mail/assiddiq"
procmail: Opening "/usr/spool/mail/assiddiq"
procmail: [31460] Wed Aug 21 14:13:47 1996
procmail: Unlocking "/usr/spool/mail/assiddiq.lock"
From assiddiq(_at_)ux7(_dot_)cso(_dot_)uiuc(_dot_)edu  Wed Aug 21 14:13:45 1996
 Subject: testing 1
  Folder: /usr/spool/mail/assiddiq                                          742
procmail: Notified comsat: "assiddiq(_at_)35379:/usr/spool/mail/assiddiq"

<Prev in Thread] Current Thread [Next in Thread>
  • Basic AutoResponder Problem, A. Shiraz Siddiqui <=