procmail
[Top] [All Lists]

Re: Only doing stuff for one recipe

1996-11-27 02:29:33

Done what you've said below, but it still only executes for the first 
recipe it encounters. At present the .procmailrc is:

=== .procmailrc
:HB
* ^Subject:.*Air Quality Bulletin
| /home/dill/isps/src/air/do_level > 
/home/dill/isps/src/air/Output/air.level
:HB
* ^Subject:.*Air Quality Bulletin
| /home/dill/isps/src/air/do_quality > 
/home/dill/isps/src/air/Output/air.quality

=== Log
procmail: [14163] Wed Nov 27 09:18:16 1996
procmail: Match on "^Subject:.*Air Quality Bulletin"
procmail: Executing " /home/dill/isps/src/air/do_level > 
/home/dill/isps/src/air/Output/air.level"
procmail: Assigning "LASTFOLDER= /home/dill/isps/src/air/do_level > 
/home/dill/isps/src/air/Output/air.level"
From procmail  Wed Nov 27 09:18:15 1996
 Subject:  Air Quality Bulletin
  Folder:  /home/dill/isps/src/air/do_level > 
/home/dill/isps/src/air/O    8183

===

Any ideas, Karl? Anyone?

P> 1) The 'hb' flags, when combined, do nothing.  Take them both out.

P> 2) You have the 'f' flag on those recipes, which means that procmail is
P> expecting the actions to be outputing mail messages.  They don't, so you
P> shouldn't be putting the 'f' flag on the recipe.

   Sorry, my bad.  I just copied one of the recipes I use when I send 
something
   directly to a perl script.  I wrote that about 2 procmail versions ago, so 
I
   should probably change it in my .procmailrc as well.



  _   _
 |_) |_|      Listings Ltd    \   Jason Tang   /        (01430) 488356  Phone
 |   | |  Bishop's Manor Howden \            /   
jasont(_at_)padd(_dot_)press(_dot_)net  Email
--------------< ISPS (Information Systems Production Software) >--------------

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