procmail
[Top] [All Lists]

Calling external program and passing information

1999-10-11 23:38:06
Hi,

I'm having trouble callnig an external program and passing it part of the
subject.  Below is the recipe that I am using:

:0
* ^Subject: +hg +\/[^ ].*
| /home/vivek/pbm/bin/app $MATCH

Nothing happens, the program is not run.  Below is the log file

rocmail: [18499] Tue Oct 12 16:17:07 1999
procmail: Assigning "MATCH="
procmail: Matched "show 101"
procmail: Match on "^Subject: +hg +\/[^ ].*"
procmail: Assigning "LASTFOLDER=/home/vivek/pbm/bin/hypergammon show 101"
From vivek(_at_)yoyo(_dot_)cc(_dot_)monash(_dot_)edu(_dot_)au  Tue Oct 12 
16:17:05 1999
 Subject: hg show 101
  Folder: /home/vivek/pbm/bin/hypergammon show 101
540
procmail: Notified comsat: "vivek@:/home/vivek/pbm/bin/hypergammon show
101"
procmail: Executing "/home/vivek/pbm/bin/hypergammon,show,101"

Why are there commas between the parameters of the last line of the log?
Any ideas?

TIA
Vivek


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