> How can I run a C program after I recieve a message.
This is pretty easy. Please read the man page for procmailrc for details.
Say the C program is called "foo". This following recipe will run "foo"
for each incoming message.
David Tamkin correctly reminds me that I should have mentioned and used
the "i" flag in the examples from my previous e-mail.
So, for "C programs", or any kind of program or script which you wish to
invoke and ignore the STDIN, the recipe should use the "i" flag.
Otherwise, procmail will assume an error and "recover" the input for
# run "foo" and ignore input
Sorry to have forgotten this important flag for this usage.