procmail
[Top] [All Lists]

Re: procmail not running recipe commands

2002-07-03 12:07:59
At 17:21 2002-07-01 -0500, David Theilen did say:
:HDwb
* ^Subject.*ftp_admin*
| cat > /tmp/ftp-req

What are you cat'ing (you should specify '-' as the filename parm to cat if you want it to cat from stdin)?

Why are you not LOCKING the operation on this file? Particularly if it is being overwritten?

procmail: Match on "^Subject.*ftp_admin*"
procmail: Executing " cat > /tmp/ftp-req"
procmail: Assigning "LASTFOLDER= cat > /tmp/ftp-req"
>From u50928(_at_)sun12770(_dot_)kcp(_dot_)com Mon Jul  1 16:55:21 2002
 Subject: ftp_admin
  Folder:  cat > /tmp/ftp-req                                           30

That "30" is 30 bytes delivered.

procmail: Unlocking "/Mail/.lockmail"

You must have this recipe wrapped within a larger construct?

on a procamail 3.11 system, the command I want works

| cat > /tmp/ftp-req;  myprogram

how about:

| cat - > /tmp/ftp-req ; sleep 2 ; myprogram

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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