|Thu 98-03-19 "Rami Levy" <rlevy(_at_)paging(_dot_)mot(_dot_)com> list.procmail
|
| I am trying to pipe all incoming messages whose subjects contain a certain
| keyword into a PERL script.
|
| :0 fc
| * ^Subject:.*My_Keyword
| | /pathname/program.pl
Erm, you want the perl script to process and replace the content
of the message?
| :0 f
| * ^Subject:.*My_Keyword
| | /bin/grep From > /home/rlevy/output
But here you want to redirect the content to a file?
(Is f flag what you want?)
| procmail: [16693] Wed Mar 18 17:49:12 1998
| procmail: Match on "^Subject:.*My_Keyword"
| procmail: Extraneous filter-flag ignored
| procmail: Assigning "LASTFOLDER="
| procmail: Opening ""
| procmail: Error while writing to ""
| procmail: Skipped "| /bin/grep From > /home/rlevy/output"
| procmail: Locking "/mail/fserv4/rlevy.lock"
| procmail: Assigning "LASTFOLDER=/mail/fserv4/rlevy"
Do you have 3.11p7 ? If not, upgrade. The recipe work danady there.
:0
* ^Subject:
| /bin/grep From > $HOME/TT
procmail: Match on "^Subject:"
procmail: Assigning "LASTFOLDER= /bin/grep From > $HOME/TT"
Subject: Explode your Biz with MY service
Folder: /bin/grep From > $HOME/TT
jari