procmail
[Top] [All Lists]

Script won't Run

2000-08-23 23:36:03
I tried to write a recipe that will look for a URL and then run a script.
My ultimate goal is to write a recipe that will look for a URL, take that
URL and pass it to my script.  What do you suggest?  This is what I have so
far:

:0 c:script.lock
* BH ?? ://
| ~/script/hello.bat

this is to run the script... hello.bat is: echo hello world.  I can execute
it but it just doesn't work when a match if perfomed.

Here is the log:

procmail: Notified comsat: "kyoung@: ~/script/hello.bat "
procmail: Assigning "INCLUDERC=/home/kyoung/Procmail/testing.rc"
procmail: Match on "://"
procmail: Locking "script.lock"
procmail: Executing " ~/script/hello.bat "
stty: : Invalid argument
TERM: Undefined variable.
procmail: Assigning "LASTFOLDER= ~/script/hello.bat "
procmail: Unlocking "script.lock"
procmail: Locking "/var/mail/kyoung.lock"
procmail: Assigning "LASTFOLDER=/var/mail/kyoung"
procmail: Opening "/var/mail/kyoung"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/mail/kyoung.lock"
From kenneth(_dot_)young(_at_)tumbleweed(_dot_)com  Wed Aug 23 14:25:19 2000
 Subject: http://
  Folder: /var/mail/kyoung
744

Ken


_______________________________________________
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>