Cedo Vicente asked,
| I need to somehow get the From: header sent along with the main body so I
| know who sent the page. Below is a sample of my working .procmailrc .
| # Generate pages when subject contains "pager"
| :1Hbc
| ^Subject:.*pager
| |/usr/local/bin/epage -q cedo -
The problem is that you included the `b' flag. Because of it, only the body
is fed to the pipe. Try this to feed the From: header and the body (make
sure that the directory where formail resides is in $PATH or call formail by
its full absolute path in the recipe):
:c # `1' and `H' are the defaults, so you don't need those either.
^Subject:.*pager
| formail -kXFrom: | /usr/local/bin/epage -q cedo -