-----BEGIN PGP SIGNED MESSAGE-----
OK, AFAIK, using a pipe in a procmail script sends the contents of the
email to whatever program I want. Basically the same as:
cat <email> | program_name
So:
UMASK=022
:0
* ^Subject.*(Keynote Performance Data)
| /home/aturner/bin/keynote.pl
Should work. But it doesn't. The script never get's any data via STDIN.
Why? My log only shows:
procmail: Assigning "INCLUDERC=/home/aturner/.procmail/rc.testing"
procmail: Assigning "UMASK=022"
procmail: Match on "^Subject.*(Keynote Performance Data)"
procmail: Executing "/home/aturner/bin/keynote.pl"
procmail: [2113] Thu Dec 10 12:47:05 1998
procmail: Assigning "LASTFOLDER=/home/aturner/bin/keynote.pl"
- From aturner(_at_)vicinity(_dot_)com Thu Dec 10 12:47:04 1998
Subject: Keynote Performance Data (fwd)
Folder: /home/aturner/bin/keynote.pl 2356
procmail: Notified comsat: "aturner@:/home/aturner/bin/keynote.pl"
Help. I've verified that the script does what it's supposed to: create a
file, and write the body to the file (strip the headers).
- --
Aaron Turner | Either which way, one half dozen or another.
aturner(_at_)pobox(_dot_)com | Check out the Red Hat Linux User's FAQ
Online!
www.pobox.com/~aturner | http://www.pobox.com/~aturner/RedHat-FAQ/
All emails from this account are PGP signed. Lack of a signature is "bad".
PGP Key fingerprint = FB E1 CE ED 57 E4 AB 80 59 6E 60 BF 45 1B 20 E8
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBNnA2uDM3jpXy1kJtAQGq7QQAnkFlBRsiUufSfWQECFHJtOFGy7t1f4Lm
huNTiAwdB9y/620Bns1TrAYnUIDkS1o7cLMHVSO8KG9sJmWJ8urPzIpGCtDxBGPr
Q2b6aSxSaImu0hsgs80CMkDHfy6jubeM/9OEE+hlfucehc0IT+s+G26YR9/gVK6c
AJlmPdonC5M=
=8BQX
-----END PGP SIGNATURE-----