procmail
[Top] [All Lists]

procmail auto reply error

1997-03-18 11:08:39
I have just started using procmail.  As per the instructions in "Filtering
FAQ", I made the required files etc. and on testing, the test mail did go to
the specified folder.  It means everything was in proper place.

Now when I use this recipe (as given in the man pages of procmailex) for
retrieving a file, I get an error and only a plain reply a returned to the
sender. The file is not returned.

I use this recipe

:0
* !^From +YOUR_USERNAME
* !^Subject:.*Re:
* !^FROM_DAEMON
* ^Subject:.*resume
| (formail -r ; cat resume.txt) | $SENDMAIL -oi -t

and I get this in the log file (only the last few lines are here)

procmail: Match on "^Subject:.*resume"
procmail: Assigning "LASTFOLDER= (formail -r ; cat resume.txt) | $SENDMAIL -oi
-t"
From hsb957170(_at_)rccvax(_dot_)ait(_dot_)ac(_dot_)th  Wed Mar 19 00:47:54 
1997
Subject: resume
Folder:  (formail -r ; cat resume.txt) | $SENDMAIL -oi -t                 518
procmail: Notified comsat: "rajesh@: (formail -r ; cat resume.txt) | $SENDMAIL
-oi -t"
procmail: Executing " (formail -r ; cat resume.txt) | $SENDMAIL -oi -t"
stty: tcgetattr: Not a typewriter
Not a terminal
Cannot find terminal.
cat: cannot open resume.txt

I don't understand the last few lines of this log.  What I need to do to
correct this problem.  I am no expert on UNIX and just know the basics.  BTW I
am using procmail on DEC Alpha Workstation (runnning OSF1).

TIA.

Rajesh

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